Not happy with my boyfriend

My boyfriend and I use to be really close. Nothing came between us and when he worked he would call me on his break and he would come for lunch. We were inseparable and in love, but for the last few months he has pulled away. I not allowed to leave the bedroom while he is entertaining his male and female guests. He goes out to the bar without telling me anything. He is always texting other women and doesn’t include me in anything. He tells no one that he is taken so everything believes that he is single and it really hurts. He makes me feel regretted, unwanted and ugly and I don’t know how to get him to see me the way he use to. I love him so much and I don’t want to loose him but if he can’t start treating me better then I don’t want to stay in a hurtful relationship.