If you are being chased by a dog, you should:
Kick it away.
Stop until the animal loses interest.
Swerve around the animal.
Approach the animal slowly, then speed up.
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.