Kashering My Oven

I have in the past always thoroughly cleaned the oven, waited 24 hours after cleaning and then burned out the oven for one hour on the highest light (from milk to meat)
Now someone has told me I have the order wrong. After thoroughly cleaning the oven , I should burn it out for one hour on the highest light and then wait 24 hours after the hour of burning is complete. Can you please tell me which is the correct way or does it not make any differnce.
A big thank you

The correct way is to wait 24 hours and then to burn it out.

See https://askhalacha.com/kosher-kitchen/ for some short articles further explaining these concepts.
All the best
Rabbi Shay Tahan