Prescription azole treatment typically lasts between 7 and 14 days. The yeast infection should clear up within this time frame. Doctors may also prescribe a single or multidose oral medication called fluconazole.