Before you get out of the car pull the hood release from inside the car.
A good piece of advice.
There is another piece of advice that should be so much common knowledge and common sense that everyone does it automatically. It ought to be done automatically but too often it gets missed.
If the vehicle crashes, is on fire, or might be on fire: TURN THE IGNITION OFF.
I have seen the results where a driver saw smoke and stopped on a median but didn't turn off the ignition. They ran across the street and called 911. By the time the fire truck arrived flames were shooting out from under the hood. The engine was still running. The fuel pump and radiator fan feeding the fire.
Firemen reached inside and turned off the ignition and the fire quickly went from raging hot fire to a slow sooty flame. They then used two large dry chemical extinguishers shooting from both sides after they got the hood open to put it out.
To this day the scene amazes me. How could someone miss something so basic and common sense? Contemplating such stupidity is exhausting.