Next time dont just pop the hood. Get out, put your hands on the hood, see how hot it is, if it feels “safe” hit the hatch release, see if any flames lick out around the hood, if not, open said hood. If there is a fire, keep the hood closed and spray UNDER the car.