Monistat 7 day treatment while pregnant

I am 32 weeks pregnant and got my first yeast infection 😥. I called my doctor’s office and they told me to pick up the “Monistat 7 day treatment”. Has anyone ever used this while pregnant? Are they vaginal inserts or cream? I have never had to treat a yeast infection before so I have no clue! On my way to the pharmacy to pick some up.