Once it's completely cooled. If you glaze the cake while it's still warm the glaze could melt off and not set up properly.