My rule is that a desert that's home made - by me, my wife or whoever is allowed. It seems to work. If I really want to eat something sweet then I have to cook it first. It's the instant availability of sugary food from shops that get you.
Secondly - it gets much easier with time. Whether it's habit or a change in your gut biome or both: the sugary cravings do get less.
Thirdly - try and get enough sleep. I think most people crave sugar when they are tired. I find this one the hardest at the moment. Sometimes life can be like that.
1. Eat half the portion you would have otherwise. Just eat smaller bites and savor it. You'll still get the same enjoyment. If you're eating out, split your dessert with someone else (because I know it's hard to leave food on the plate).
2. Find desserts that are less caloric. If the dessert has fewer calories, you can eat the same amount that you used to and you'll still be doing better.
3. Turn it into a treat rather than an every day occurrence. Maybe eat it every other day instead of every day. Maybe only eat it if you cook a healthy meal (and skip it when you go eat that burger from In-n-out).
Going cold turkey is really hard, and not at all required, unless you have impulse control problems (e.g. many people have "trigger" foods, which they should stay away from entirely if they can).
Of course this can involve getting everybody in your house on your diet. That's not and easy thing to do.
Long-term, I took a food I was already interested in eating daily and made the minimal tweaks necessary for me to think of it as dessert. In my case it was oatmeal: adding 0.5T/11g of blackstrap molasses and 0.5T/6g of brown sugar to 0.5c/40g oatmeal (dry weight) makes a complex, subtly-sweet treat. It's ~200 calories total (~50 from molasses & sugar).
So while looking at lifestyle changes, don't forget the activity side. Adding a few long walks, or a new hobby that gets you moving more, might help as much as skipping some dessert.
Like I said--might not be practical for you, but worth remembering.
Essentially, you can have dessert, but it eats into your daily caloric budget. That's why you see people go for meats and veggies, because they give you the best nutrient bang-for-the-buck, allowing you to eat the most volume of food for the least amount of calories.
I'm doing a little better about portion control, but whenever I think about never eating dessert again, I just want more dessert... thanks brain.