I'm 12 weeks pregnant.??

Te

I suffered from anxiety for years was on Xanax now I'm not on anything I don't how to go to my doctor all they keep saying is it's not good for the baby I know that but really need some type of medicine. Can't sleep not just from pregnancy but because of my condition