Often I give in to the craving, I'm by no means perfect at this, and to be effective I have to remove all sweets and other processed foods from my home and workplace. What I've found to work is a "no obvious sweets" diet, anything containing sugar or corn syrup in the first three ingredients is a no-go. I've worked that before, right now admittedly it's eluding me.