The healthier you are, the less likely you are to get a fungal infection. Remaining healthy through diet, rest and exercise is the first step in avoiding fungal infection.
Here are other steps you can take to remain fungus-free:
Keep your body clean.
Dry yourself well after showers and baths.
Shower immediately after athletic activities.
Wear loose clothing whenever possible.
Do not share clothing or towels with others; wash towels frequently.
Clean exercise equipment before use.
Wear sandals in the shower area at the gym and swimming pool.