Yeast infection?

So I recently found out I have a yeast infection the doctor prescribed me 7 da cream Terconazole 0.4 the only probably is every since I start using it I’m expressing sharp shooting pains In my vagina is this normal ? Currently 29 weeks,Kinda afraid to keep using it.