Is this a threat? What can I do to protect myself from crazy boyfriend?

Hi everyone so recently my "bf" I guess has been using the "I'm going to tell your mom what youve been doing when youve been over here and sent her every picture that I have of you(nudes and while in bed with him)to get what he wants.(me to call him etc )..he recently saw a message in my Instagram dms that was from a friend on my old 6th grade guy best friends and he told me he wanted to talk to me (we have never talked like that and hes never been a problem) and yet again hes saying I'm a cheater and threatening to send that message to my mom (telling her what ive bewn doing) and that (I'ma CHEATER and have been at his house "riding his dick".He is bringing up "how dare I hurt and and your not allowed to have guy best friends....I used to see new girls nude on is phone all the time and lots of porn and I cried untill I passed out a few times because he "promised" he would never do that again and "we can get better" but I'm the one hurting him"...I act very distant and "mean" but can you blame me...he is playing the victom in that situation 😞 I have been with him for 3 years (since I was 15) and he was my first everything...we were doing a long distance relationship but he moved up here "to be closer" when I told him I didnt think that was a good idea..everyone told me it was so he could control me and I didn't believe them but now I see it...Its going to take alot to get me through this so any kind words or your stories will help me alot...He threatens me when I say I'm leaving and messages my family when I change my passwords (which he demands to have all of them and usually figures out my new ones or re sets them) Any help is really appreciated.I love all of you and love hearing your advice and your stories getting out of abusive relationships..Really needing the encouragement right now to get me through this...much love💖💖💖