Things to try in order:
1. 53x11
2. Yell at the dog to go home.
3. Squirt them with your water bottle.
4. Use pepper gel (not spray which gets carried by the wind).
5. Use your bike frame as a weapon.
6. Roll up your sleeves and give the dog your best Ip Man fighting stance.