Single, Pregnant and depressed ?

It's official I can no longer deal with the father of my child I am 12 weeks and literally throughout the whole 12 weeks I have been accused, put down, disrespected, and treated so horrible. Of course there's always an apology not far behind but I'm tired of being treated any kind of way and accepting it to try to make things work for the baby. Now I'm alone , hurt and left with 0 self confidence and I really feel like it's selfish to my baby for me to cry and be stressed but I just can't help it. Then I cry more because I think my crying and stress is going to cause me to lose my baby and I don't want that ? anybody else been through anything like this? Any words of encouragement? Anything ? I feel so alone and like no one understands