Tarmac and tires, people. Whenever you’re driving your car, make sure you can see the tarmac and tires of the vehicle in front of you. That way you’ll have a chance to drive around the car ahead should the need arise. Which it would during an attempted robbery or carjacking. Because no matter how fast you are at unholstering a firearm in your vehicle, flexing your right foot is faster . . .
You can use your vehicle to escape or counter-attack as needs be. [NB: It’s not clear if the driver above faced an imminent threat of death or grievous bodily harm as he ran over the perps. Let’s go with yes.] The wider point: a gun fight is a fight with a gun. The first and most important element is the word “fight.”
If you can’t escape, use the best (i.e. the quickest and most violent) tool/method to attack your assailant. That may involve your firearm and it may not. Don’t forget the “not” part of the equation.