Moving on

Can someone please tell me how the heck I’m suppose to move on from loving someone who has hurt me so much. I honestly cannot see my life without him but I can’t be with him :( we also have a daughter together and I’m current 33 weeks pregnant. This is the worst feeling and I’m not sure I’m ever going to get through it. :(