You can reduce your risk of getting a yeast infection by avoiding tight clothing, wearing cotton underwear, avoiding scented products, and practicing good hygiene.