I know ill get negative attention for this but.

Me and my my boyfriend have been together for almost 5 years weve had our ups and downs but recently it's been pretty bad went through a phase of him beating me but that stopped because I kept leaving staying gone for weeks at a time if it was necessary. I suspect he's cheated (before I started leaving) but I have no proof He would neglect me in every way possible and emotionally torment me but things are 'ok' if I just ignore it and let things be.also he keeps me very isolated. This last time I left it's cause he called me every foul name in the book and said he was tired of me and to get my shit and gtfo. So I did. I was gone for 2 weeks but during that time I had sex with this guy I recently met and have been talking to. He's a really good guy and I keep thinking about him but I truly do care deeply for my boyfriend I just don't see us really happy again. I don't know what to do I'm kinda just venting (no one to talk to cause I'm isolated ) I'm posting here cause he wont check my 'period tracker'. Also I haven't told him about the other guy.