Additional factors such as footwear, tendency to sweating, etc., all play their own part. Although there are good treatments for Athletes Foot you have no known way of preventing exposure to fungus because fungus is everywhere in our environment. It is for this reason that there is no permanent cure for Athletes Foot. However, there are certain preventative strategies which can minimise the frequency of attacks even in patients predisposed to getting the trouble. Antifungal talcum powders regularly used after showering, exercise, etc., are always worth a try.
Patients also apply antifungal creams on a regular basis after bathing.
Finally, it is always worth considering the possibility of some underlying disorder if very frequent attacks occur and you would need to have a chat with your doctor about this. Underlying conditions which might predispose to skin infections on a repeated basis include diabetes and if you have a family history of this condition then you should certainly consider a simple urine test to exclude it. Most of our work is based in clinics seeing outpatients but many of us also have a commitment to overseeing inpatients with more serious diseases. To answer these questions I have an area on this web site which you might like to visit - it is called Dermatologist's Diary in which I will regularly update life as a dermatologist, interesting problems, unusual situations, etc. Acne does not appear to be related to eating either healthy food or junk food - it seems to make no difference to most patients.