Don't judge (controlling boyfriend)

My partner is very jealous and controlling. 
I can't have any guy friends, he doesn't let me go clubbing and enjoy myself with my girl friends. He doesn't even let me go to work dinners. He is isolating me and I feel stupid for listening but I can be the same towards him due to past experiences .. 
I've went out secretly on Saturday for the first time with friends to a club just to enjoy myself not to cheat or anything .. 
Am I wrong?