I want to know what should I do now to kill any risk of contracting athletes foot?

Antifungals. Don't walk barefoot at an exercise facility. Use flip flops or shower shoes if showering at a gym or when staying at a hotel. You can spray your shoes with an anti fungal and your shower with bleach and water.
Athlete's foot. Keeping your feet clean and dry are essential. There are a variety of very effective natural products I recommend that can be used to prevent foot fungus.