Went to doctor for what I thought was herpes....

Yup, thought I had herpes and was a crying wreck.. I took amoxicillin at the beginning of the month which caused a bad yeast infection.. Monistat didn't work so I went to by OB today and he did a pap and blood work and he gave me Nystatin ointment and triancinolone ointment to mix together and use. I'm 28 weeks pregnant today and I completely trust him whatever he recommends.. but has anyone else used these products while pregnant? Just curious.