In a drive-by situation having a gun is no help, and will probably just end with YOU in jail, and definitely with your gun confiscated. If someone shoots at you and then immediately drives or is running away you can't just return fire, because at that point they are no longer a threat. You can't use your gun to "retaliate", you can only use it to protect your life in the moment of the attack.
Everybody wants to pack a gun around, but I don't think they are in touch with reality. You, as a citizen, do not have "STOP OR I'LL SHOOT" authority, no matter what someone just did to you, and no matter what you are afraid they MIGHT do.