Yeast infection

What are some safe ways to treat a yeast infection while pregnant?