Most times, an over-the-counter antifungal suppository, tablet, or cream will knock out the infection. Your doctor might also prescribe a single dose of a prescription antifungal medicine like fluconazole. Tell your doctor if you get yeast infections more than four times a year. She may recommend regular doses of antifungal medication over several months to fight the repeated infections.