has anyone ever had yeast infection?

How does the doctor check for it? And how long does it go away with antibiotics?