However, I taught at least one dog to never bother me again that way. Doing so stops many dogs. However, it is what I least want to do. Unfortunately, some dogs will pair and circle. Once they think I have a weapon, most dogs will back off.
Some people prefer to use their pump as a pretend weapon.
I chase the dog back onto his property. Dogs will eventually ignore me, if they learn that I am bad news. I have a talk with the owner. In these talks, I explain exactly what the dog is doing and why his behavior is dangerous to me, the dog, and to other people using the road. I avoid getting angry or offensive, even if the owner does so.