depressed while pregnant

I found out I was pregnant at the ER. I was in the ER because I tried to commit suicide and someone called the cops. It's so hard to explain I'm happy to be pregnant I have always wanted kids. But now when things get really bad I feel like there's no way out because if I kill myself i kill my baby and that's something I could not do. It's been so hard sometimes. I haven't been able to go to a therapist yet because of insurance problems. I can't tell my bf when I'm feeling this way because he would just get mad at me for it. Say I'm asking for attention etc. 
Edit: I had to spend 4 days in the hospital 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors