Instead of sweets eat fruits. Fruits are sweet but they are healthy. Also, start eating more vegetables. Try to back off of carbs like bread and pasta. Just try to keep sweets out of the house in general.
Some of the tips you can use to strengthen your will power include visualizing success and the benefits you will get. In addition, you should create a positive attitude as well as keep practicing until you feel you are in control.