Dog owners tend to care about all dogs, even in the case of an attack. ... Using pepper spray on dogs will disable a canine attacker just the same as a human attacker, but keep in mind that the effects are temporary. The effects of the dog pepper spray will last long enough to get you to safety.