Athlete’s foot occurs when the tinea fungus grows on the feet. You can catch the fungus through direct contact with an infected person or by touching surfaces contaminated with the fungus. The fungus thrives in warm, moist environments and is commonly found in showers, on locker room floors, and around swimming pools.