Sugar Addiction

I’m coming to terms with the fact that I’m a sugar addict. I catch myself craving sugar and eating lots of candies and chocolates. How to stop? What to do?