When visiting others' homes with your dog, follow these tips.