If you are being chased by a dog, you should:

Motorcycles often seem to attract dogs. If you are being chased by a dog, downshift and approach it slowly. Then, as you approach the dog, accelerate and leave it behind.
DMV Writen Test