Any type of food tracker helps a lot. You know what you can eat--calories out have to be greater than calories in. If you log all your food, and you know what your body needs to maintain, then wasting a ton of calories on pizza will make you feel disgusted with yourself as you are doing it. That's the way it worked for me. You have to be religious about it, though. Fitbit is my choice.
Got a calorie counter app today. It measures caloric burn too. Beers tonight not helping. May be my last night of drinking for a while.