It's important to only frost your cake after it's cooled to room temperature. This allows moisture from the cake to escape and keeps your frosting from heating up and sliding off.