Yeast infection

I think I have a yeast infection and I’m 24 weeks. What can I safely take or use to treat this? Anyone have experience with this being pregnant?