before they start running (or before they get to you) get off bike hold bike between you and dog. You are no longer something fun to chase. then tell them to go home, bad dog, etc.