Need advance!

My bf, had been amazing for about a year and half now! But he is now being a dick to me after this one friend, and he treats me like SHIT! like I am not there iam a ghost and he well hit me if I try to say no to him and I don't know what to do because I don't want to loose him because he was the only one of my "bf" not to treat me like a piece a shit and have sex with me 24/7 but now idk because he kinda acting like them and it scares me! So SHOULD I GIVE HIM SPACE OR BE DONE?