Many a cupcake has been ruined when overly eager chefs apply frosting too soon after removing the batch from the oven. A little bit of patience is necessary to ensure that the frosting goes on smoothly and doesn't melt. First, allow the cupcakes to cool for a minute or longer before removing them from the pan. Then, place them on the counter or a wire baking rack. For best results, when the cupcakes have finished cooling, cover them or seal them in a container to prevent them from drying out. It's important that you allow cupcakes to cool before putting them in an airtight container, otherwise, they'll sweat. Once you've got all your items assembled for frosting and decorating, pull them out and get to work.