I slow down to give the impression that the dog is not going to chase me off. If the dog continues to be persistent, I squirt it in the face with my water bottle and that usually does the trick.