Hi. Gosh, you're sure dealing with a lot hon. It sounds hard! If you feel on the edge--- to where you are sincerely struggling, please reach out to your doctor. Waiting for a referral may not be an option. You may need to be seen now. Most doctors do have acute appointments to fit people in that need to be seen right away. You may need one of those appointments.
I also think a psychiatrist would be able to guide you in this area as well. Pregnant women DO take medications necessary to control their mental health issues. they'll try to make the safest choice possible but the bottom line, YOU are a patient yourself and need care in the safest way possible for your pregnancy. It's really important too that there is a plan for as soon as you have the baby. Hormones surge at that time and even without pre existing mental health issues, women often plummet into depression and anxiety. so, be proactive in planning for post pregnancy too.
So, talk to your doctor and see if you can be seen sooner rather than later. And remember some of the other things you can do that help such as try to get extra rest, eat well, exercise moderately. these things help as does proper breathing, square breathing (hold 4, breath in 4, hold 4 breat out 4, repeat) and meditation or mindfulness. Pregnancy yoga is good too. Talk therapy with a psychologist may be really helpful.
You aren't alone hon. There have been many women before you that have gone through this and I'm really sorry you are having a hard time. Hope it gets better soon. hugs