In the event of an engine fire, you should not:

In the event of an engine fire, you should turn off the engine as soon as possible. Do not open the hood if you can avoid it. Shoot foam through the louvers or from the vehicle’s underside.
DMV Writen Test