Squirt a bit of water at pesky dogs. Sounds odd but it has worked for me every time. They seem shocked and back off.