If you need a glazed dessert for a party, you should bake it the day before and let it cool, then glaze it two to three hours before the event. If your kitchen tends to be on the warmer side, it might be best to keep your glazed treats in the refrigerator, or at least in a cooler area of your home, so long as it's not a very perishable dessert.