I started lifting within the past couple years and focused on high protein intake, I found very quickly that if you are trying hard throughout the day to hit 130g+ of protein, there isn't much room to be craving other things. And when I did crave something sweet or unhealthy, I basically told myself that if I first have my big protein shake, and then if I still feel the desire to eat that thing, then I could eat it. But only after having a shake... and most of the time you are so full from the shake or protein bar that you don't care for that desert anymore anyways.