To avoid getting black or detached nails, wear sneakers a half-size larger than your other shoes, keep toenails trimmed, lace shoes so they’re supportive but don’t restrict blood flow, wear moisture-wicking socks, and place toe protectors where you need extra cushion.