Is it safe to take Monistat 7 during first trimester?

Amber

I was taking a uti medication and I just finished it and the doctor said the medication ended up giving me a yeast infection. So I’m wondering if it safe to take it without any harm or any chances of miscarriage?