What you wear — or don't wear — can help you avoid a yeast infection. Yeast grows best in a warm, moist environment: think wet bathing suits, tight jeans, and stretchy exercise gear. Nylon underwear, pantyhose, and other synthetic materials that trap moisture also make yeast infections more likely.
Some girls may react to certain dyes or perfumes in soaps, bath gels or lotions, sanitary products, and laundry detergents. When the reaction causes irritation, that can set the stage for a yeast infection. Your best bet is to steer clear of perfumed products and to use mild and fragrance-free products when possible.
To help keep your vaginal area dry, try switching to all-cotton underwear and make sure you carefully dry off after you shower. If you can, wear cotton underwear to bed or don't wear any, and always wash and thoroughly dry your underwear before wearing them. Don't lounge around in a wet bathing suit and avoid jeans or pantyhose that are too tight.
Don't take leftover antibiotics or someone else's antibiotics if you think you have an infection. Only take antibiotics when and how they're prescribed for you. And if you have diabetes, make sure you keep your blood sugar levels under control.