Clotrimazole is primarily used to treat skin infections such as athlete's foot, jock itch, and ringworm. It is also effective against oral and vaginal yeast infections. The drug can be applied topically or taken orally, depending on the type and severity of the infection. It is essential to follow medical advice on the appropriate dosage and duration of treatment to ensure effectiveness and minimize the risk of resistance.