Controlling boyfriend advice

So, me and my boyfriend have been together for almost 2 years now. I’ve started noticing how controlling he is and it’s getting really bad. Examples are he won’t let me hangout with friends and if I do he gets extremely mad, I can’t lay in my bed without clothes on, I can’t go swimming with my friends, I can’t go to the beach with my friends, my little cousin can’t come in my room Bc he doesn’t like her just things like that. That’s not all of them just ones I can think about off the top of my head. I’ve talked to him numerous times about it and every time I do he just gets so mad about it. He hangs out with his friends all the time and I hangout with him and his friends all the time but I can never just have a girls day and be free I always have to worry about him getting mad at me for something. I know I deserve way better than that but I don’t want to leave him I just want him to change so we can stay together. Any advice? I’ve tried so many things but nothing just seems to work. We constantly argue now and idk how to solve it. We broke up for about 4 months because he cheated on me and he begged for me back all of those 4 months we were broken up saying “it’s not going to be about my happiness it’s gonna be about keeping you happy” “I’ll treat you like a princess” like basically just saying all that so I believed him and he hasn’t cheated on me again but it’s really getting to me that I can’t do anything with friends. He won’t hangout with me and my friends because he hates all of them for a stupid reason. Even though I hangout with him and his friends almost every day. So any advice on how to stop this?