Trench foot
Trench foot can be prevented by keeping the feet clean, warm, and dry. It was also discovered in World War I that a key preventive measure was regular foot inspections; soldiers would be paired and each made responsible for the feet of the other, and they would generally apply whale oil to prevent trench foot. If left to their own devices, soldiers might neglect to take off their own boots and socks to dry their feet each day, but if it were the responsibility of another, this became less likely. Later on in the war, instances of trench foot began to decrease, probably as a result of the introduction of the aforementioned measures; of wooden duckboards to cover the muddy, wet, cold ground of the trenches; and of the increased practice of troop rotation, which kept soldiers from prolonged time at the front.
Athlete's foot
One way to contract athlete's foot is to get a fungal infection somewhere else on the body first. The fungi causing athlete's foot may spread from other areas of the body to the feet, usually by touching or scratching the affected area, thereby getting the fungus on the fingers, and then touching or scratching the feet. While the fungus remains the same, the name of the condition changes based on where on the body the infection is located. For example, the infection is known as tinea corporis ("ringworm") when the torso or limbs are affected or tinea cruris (jock itch or dhobi itch) when the groin is affected. Clothes (or shoes), body heat, and sweat can keep the skin warm and moist, just the environment the fungus needs to thrive.