The classic symptoms of a yeast infection make them easy to diagnose. Doctors may ask about the person’s medical history, such as any previous yeast infections or sexually transmitted infections (STIs). They may also ask whether the person was recently taking antibiotics.Doctors will then examine the vaginal walls and cervix for signs of infection, taking cells from the vagina if necessary for proper diagnosis.Treatment of yeast infections depends on their severity. Standard treatments include creams, tablets, or suppositories, which are available via prescription, or over-the-counter or online Complicated infections may require complex treatments.Avoiding yeast infections begins with a balanced diet and proper hygiene. Wearing loose-fitting clothing made from natural fibers may also help prevent infection. Washing underwear in very hot water and changing feminine products often can also help prevent fungal growth.