What should I do while in a emotionally and physically abusive relationship, how do I get out?

Me and my partner had been together since high school the start of our relationship was in freshman year, Before I had my baby back in August me and my partner was in a healthy relationship, we even went through so much and battled homelessness together and now live in an apartment together with our son. We started having issues when he kept staying in contact with exe girlfriend. I had constantly kept telling him I wasn't comfortable with it and was hurt by it, we never argued just talked and eventually he stopped but I ended up having trust issues with him and started looking through his phone every chance I got because I thought he would be lying to me because he had kept bouncing back every other month on the same bs. I have friends just like him, we both had male and female friends that we grew up with and still talked to them after high school. I never once let a thought slip cross my mind to try and cheat or flirt with any of my friends and even told them I was in a relationship. After our constant confrontations my partner started to become possessive and controlling and made assumptions that I was possibly cheating on him and this has happened more then once, He even started blocking my friends without me knowing and only talked to his male friends to make a point and told me he wanted me to stop talking to my male friends because he felt like they were flirty towards me after I unblocked them out of confusing as to why he did so, but I didn't wanna argue or question so I blocked them back, after I had my baby my partner got worse over time.

(splitting this into two parts/ not enough room))

part.1

Updates
1 y
I didn't know how to feel about him all the time and kept telling myself that I still loved him and that he still loves me, We were still fighting homelessness at that time and finally had gotten to move into our apartment, we both made agreements to get a job but then he stated he wasn't mentally well to be working and was willing to watch the baby so I was ok with it and got a job and started working but every time I was working he would constantly call and check on me which I didn't see much
Updates
1 y
He always tells me he loves me but the same thing keeps happening, he feels guilt and shuts down but it keeps happening.
What should I do while in a emotionally and physically abusive relationship, how do I get out?
Post Opinion