After the cupcakes have completely cooled, wrap them in plastic wrap. Then frost the cupcakes within 2 hours of serving. Or if cupcakes must be frosted several hours in advance, frost the entire surface (rather than leaving an unfrosted border around the edges) to prevent the cakes from drying out. Store them in a tall airtight container.