Only 7-day topical yeast infection treatments are recommended by the Centers for Disease Control and Prevention (CDC) for the treatment of yeast infections in pregnant women. If you are pregnant and think you have a vaginal yeast infection, talk to your healthcare professional before using any product to treat the infection.