Advise ?

So recently within the last two months I've been dating this guy, and in the beginning it was perfect he always tried to help and surprised me all the time with flowers or whatever now I recently found out I was pregnant and I feel like I'm stuck in a cage. He throws fits if I dress nice and yells at me for looking good cause other guys check me out. He gets mad if he's at work and I go to the back yard and swim im the pond without him or I don't go everywhere he goes with him and when I want him to follow me somewhere he gets pissy and says no ... but I don't know what to do now I'm pregnant. Am I over reacting? Any advise ?