Promptly transfer to a cooling rack to halt cooking. A cooling rack allows air to circulate around and underneath cupcakes for even cooling. Cupcakes always need to be thoroughly cooled before decorating to prevent frosting from melting right off.