Going through alot

Me and my boyfriend have been together for almost 6 years he doesn't want anymore kids and is afraid of commitment, i just find out that im pregnant but I'm having complications their not about to find the babies sack yet I told him and he hasn't spoken to me he's ignoring me hasn't even touched me. I told my mom and sisters because I figured I'd need the support he got mad at that the only time he talks to me is to yell or complain. I've decided that I'm just going to give up on the relationship I can't be stressed out. When I told him what the doctor said and that i had another appointment he did i thought you were having a miscarriage crazy this is i never brought that up. I just feel so sad and alone.