chew gum

If you want, you can keep a chewingum in your fridge. Whenever you feel a craving for sweets, start chewing gum. Chewing it reduces the craving for sweet food to a great extent.
Make your mouth sweet by eating jaggery

If you are very fond of sweets, then instead of eating anything rich in sugar, you can consume jaggery. But you also have to take it in very small quantity.
consume herbal powder

You can make herbal powder at home to reduce the urge to eat something sweet again and again. For this, take half teaspoon coriander powder, half teaspoon hibiscus powder, half teaspoon roasted cumin powder and half teaspoon roasted fennel powder. Mix all these well. Take half a teaspoon of this powder in the morning and half a teaspoon before sleeping. Apart from this, whenever you have sweet cravings throughout the day, you can take it.
By the way, when it comes to health, sugar is treated like a villain. But sugar is also necessary to stay healthy. Therefore, it cannot be ignored, but the sugar substitutes mentioned here can definitely be tried.