Yeast infection during pregnancy?!!

Em
So I'm very prone to yeast infections. No matter how hard to try to prevent it. Now that I just found out I'm pregnant 5 weeks and 4 days to be exact, I got it again. I called the nurse on call she said it was fine that I used monistat. However, my husband bought the off brand and got the miconazole. Is this safe? Did you get yeast infections while pregnant? I already inserted it but I still want to have a little peace of mind