Snakes are really scared of humans.
Although a snake can and will snap at you and bite you if they need too the snake actually prefers to get away from you instead.
If you see a snake and are coming towards it the snake will most often try to take off and slither away from you first before they try to bite you.
Most snake bites occur when you actually get near or really close to the snake.
If the snake is cornered by a human or you're within a few feet of the snake then the snake may then decide to bite you.
But for the majority of snakes they would rather get away from a human than try to bite them.
Biting a human or dog, cat etc is the last resort and defense for the snake.
If you do get bitten by a snake you should seek medical treatment as soon as possible especially if you don't know whether the snake is venomous or not.
Some snakes such as the Gardener Snake are not venomous while other snakes such as the Rattle Snake are.
The best thing to do to avoid snake bites is to avoid snakes and stay away from the snakes if and when possible.