Instead of going on a diet, try and adopt a healthier lifestyle. Try and nourish your body with good stuff rather than deprive it. Sleep enough! Everyone knows that being tired makes you crave sugar to keep your energy levels up.
Diets are notoriously unproductive, and rarely work well in the long term. In fact, "dieting" is one of the strongest indicators of future weight gain. Instead of going on a diet, try adopting a healthier lifestyle. Try and nourish your body with good stuff rather than deprive it. Try and eat foods that are not processed.