It is preferable to wait 2-3 hours for your cake to cool completely before icing it.