Until you eat it again and it triggers a binge. Usually someone trying to eliminate sugar from their diet is also trying to reduce calories and reduce carbs. Both of these things will make it nearly impossible to get rid of sugar cravings. Sugar is not the same thing as a drug, even it if produces similar feelings. It is a vital nutrient, yes you can get it from other places but the easiest form for your body to breakdown is simple sugar. That is why when you are cutting out sugar/calories/carbs, you will experience overpowering urges to eat it.
My advice would be to learn to eat it without the guilt and binge mentality attached. Maybe this seems impossible for some but usually those same people have been on diets their whole life and have a warped view on food.