The amount of coordination needed to get the spray out and aim it at the dog would result in me crashing more than it would spraying the dog.

I read somewhere to carry dog biscuits and throw them at the dog