If a yeast infection does not clear up with OTC treatments, it is important to contact a doctor. As well as testing to rule out other causes or infections, a doctor can also help recommend the best course of treatment based on a person's symptoms and medical history.