please help

I'm a couple weeks pregnant and have a yeast infection. I was at the ER and they wouldn't give me anything for it. Im still waiting for a call back from an ob. 
Is monastat ok to use while pregnant? 
What helps? 
In a lot of pain  please help!!!!
How to stop having these?