Yes! Always cool them fully. Let them sit in the pan for 10-15 minutes, then move to a cooling rack/cooling grid to cool fully. If you add the frosting while cupcakes are still warm, the frosting will melt and slide off.