Hi there, I'm so sorry you're feeling so desperate. I've been there and I know how frightening and overwhelming it is. I'm sure the thought of a baby whilst you're feeling so anxious feels totally impossible, but remember, it is very likely it is the pregnancy hormones that are making you feel this way, and you will not be alone through pregnancy and beyond - your husband is with you, and there is lots and lots of support out there.
I certainly felt like I could 'fix everything' i.e get my mental health and my mind back, if I was no longer pregnant, but in my case it didn't work like that. I had a termination and once I regained a sense of myself, I was uttered devastated and literally couldn't believe what I'd done, and I have struggled to come to terms with it.
I would really urge you to speak to your GP as soon as possible. If you feel unable to explain how you feel (I couldn't really articulate what was wrong with me, and I withdrew completely into myself), try to write it down, or ask someone you trust to come with you and advocate for you. Please, please, try to get as much help as you can - therapy, medication if needed, and don't feel rushed into making a decision.
I have done so much reading and research about this since it happened to me, and I've had quite a number of women PM me to say they experienced something very similar. You are not alone.
Thinking of you, and sending support. Please feel free to PM me x