Neither! If you flip it while it’s too hot you risk it falling apart and if it is too cold it will have caramelized too much and be stuck to the pan. The best is to wait 5-10 minutes before flipping your cake onto a serving plate.