Yes! In most cases, fungal nail infection is a result of untreated athlete's foot (foot fungus). Therefore, treat every small form of athlete's foot directly to prevent infection of your nails. Protect yourself against athlete's foot by always keeping socks, shoes and feet clean and dry.