You can do things to protect yourself, but realistically there is nothing you can do to prevent a random wackjob from shooting you in the back of the head when you’re not expecting it. Provided that you aren’t a head of state or billionaire, and that the shooter wants to kill you more than they want to livr.