And if you think an animal is rabid and you have a gun handy, for pete's sake don't shoot it in the head! The only way to check for rabies is to check the brain, but that isn't going to happen if you've splattered it all over the shrubbery. And then call your local Health Department.
In such a case my priority would be to end the threat as quickly as possible without endangering others. If an four-legged critter is charging, a head shot may be the best choice.