If you are able to open the hood via the latch inside the vehicle, then you can use an extinguisher to knock down the flames. The extinguisher isn’t going to really ‘hurt your car’ if it's already on fire. Just make sure you do not put yourself in danger, and, if you feel at all uncomfortable, or it gets out of…