Am I doing this right?

My boyfriend has started to be abit mean to me and I'm starting to feel used. I don't know if it's stress or his ego is even bigger seen as I'm the first person he has had sex with. Anyway, so I have decided to withhold sex, him to not see me naked and anything else that might turn him on. I am also going to stop making plans and leave it all up to him. 
Is this the right thing to do?
Does it get good results and make him appreciate me?