my husbands girlfriend

We were doing just great about a year and a half ago. He was working I was working our daughter just started going to preschool and I just found out I was pregnant. However everything crushed down so fast I dont even know what happened. It all started when we've lost his sister and my brother who were married aswell and shortly after they died I had a stillbirth. His company went totally bankrupt and all of that happened in a matter of days. First he didnt say anything and didnt even speak to me and just left. Later he came back home always on drugs. He never was that person but when I tried to help him he just beat me, not in front of our daughter but he did that a few times. A little while later it became more and more common for him to come home on drugs and abuse me. We moved to our friend's place who's like a brother to both of us but he didnt know about my husband abusive behaviour. He noticed shortly after that because of his way of talking to me but he didnt know he was also abusing me phisically. He started meeting his new friend but just didnt even let me say anything and I couldnt do anything because I only have him and not even my job anymore I have to money to get out of that hellhole. He told his friends we have an open relationship they're all very concerned but they dont ask much because I have to tell them everything is okay. I love my husband I really still do even if he's toying around with some girl in front of my eyes and hurting me everyday not just verbally but mainly physically but I don't know what to do. My parents kicked me out when I was pregnant with our first