How to protect yourself against a dog.