After cooling it for 5 minutes so that the cake leaves the sides of the pan on its own and you can easily flip over. Peeling off the parchment paper also is easier.