Yeast infection during pregnancy

I read CDC only recommends topical treatments during pregnancy but is the monistat 7 day cream safe to use and insert? My doctor didn't even test me for a yeast infection but told me to use monistat. Thanks.