Doctor prescribed me terconazole cream 0.8%

The doctor prescribed me terconazole cream 0.8% is it safe to take while pregnant first trimester I checked the paper where it has all the information & it says the manufacturer says it not safe to take in the first 3 months of pregnancy. I'm not to sure why would my doctor prescribed it to me. Did anyone else took it ?