Addiction to sugar is often trivialised by calling it a sweet tooth, but the truth is it is just as harmful to your health as any other addiction.
For me getting rid of my sugar /carb craving was equally as difficult as giving up smoking and more recently alcohol.
The way I tackled it was one day at a time, the thought of never again was guaranteed to have me reaching for a cigarette. But just not smoking/drinking/eating rubbish for just one day seems far less scary, and easily achievable.
So every morning I would make a firm commitment to myself, not to smoke. No promises for tomorrow, just today I will not smoke. After all if you think about it, yesterday's gone, it only exists in your head, tomorrow hasn't happened yet, so the only time you really have to make meaningful promises to yourself is now, today.
The other important thing for me was when I gave in to the cravings, which happened quite a lot in the first few weeks. Was to try and understand why? How was I feeling, what was the situation that triggered the craving, could I have avoided that situation maybe distracted myself by doing something else. One thing I did not do was consider myself a failure, I just saw it as an opportunity learn.
The only time we really fail is when we stop trying