will they take my baby?..

After getting abused, cheated on, and abandoned I'm at the lowest I've ever been in my life. I'm 25 weeks pregnant and need help. If I go to a mental health facility will they take my baby from me when she is born? I just want help with this depression. I can't handle it any longer.. I hate feeling like this.