How to get your dog to hate you.