Shortly after we were married, my husband and I spent the holidays with my in-laws, and we brought our young dog, Bugsy. He was social; had an excellent stay; came when called; had no history of food thievery; and would not lift his leg indoors, even on a tree, so my confidence in his visiting skills was high.

On arrival, as he occupied himself with a stuffed Kong so we could unpack the car, a possible problem occurred to me. Bugsy often tossed his Kong into the air and ate any treats that flew out of it. In our poor students’ apartment, it was endearing, entertaining behavior. But my in-laws’ decor included crystal, collectible figurines and an array of china teacups. Racing into the house in a panic, I caught the Kong in midair as it flew toward a set of porcelain miniatures. As I breathed a sigh of relief, it occurred to me that perhaps I had been a bit smug in thinking the trip would be stress-free.

This time of year generates tales of woe associated with bringing dogs to visit friends and relatives, and I get a lot of questions about this issue. Whether or not people fully anticipate the trouble that awaits them, taking a dog into someone else’s home for the holidays can cause stress. The best approach for assuaging this seasonal angst is two-pronged: Prepare your dog as much as you can ahead of time with the skills he’ll need to succeed during the visit, and make every effort to avoid other situations for which he hasn’t been prepared.

The preliminary step, of course, is to request permission to bring him along. Not everyone wants a visiting dog. Even dog lovers appreciate the advance warning that allows them to, for example, put away the Ming vase on display at the precise height of the perpetually swinging tail of your cheerful Great Dane. If your dog is not welcome, don’t bring him, or find somewhere else to stay. The strain of a visit with an unwelcome dog can permanently damage relationships. Plus, it’s hard on the dog to be Undesirable Number One in an otherwise festive home.

Training is a critical aspect of preparation. The better trained your dog is, the more welcome you will both be as guests. The key skills are to be able to sit, stay, come, leave it, greet politely, and stop barking on cue. It sounds like a long list, but these are also the basics of polite canine citizenship. I also recommend that you teach your dog at least one “show-off” behavior. This can be waiting at the door until told to proceed (easy to teach but impressive to most people) or a trick such as “roll over” or “high five.” Anything that makes your dog more charming will help ease tensions in case of a social gaffe. For example, I had a client whose dog jumped up on her father-in-law, but was forgiven immediately when she gave the cue “You goofed,” and the dog responded by lying down and covering his face with his paws, as though in embarrassment.

Common host complaints include barking, jumping up on visitors and stealing food. Of course, if he is prone to more serious transgressions such as biting, unmanageable destructive chewing or house-soiling, it is unfair to expect your dog and your hosts to co-exist peacefully, and it may be best not to go a-visiting with him in tow.

Teach your dog the skills he’ll need to be a gracious guest. If he’s a barker, teach him to stop on cue. Say “enough” the instant he starts to bark, and then put treats right by his nose. Do not let him have the treats until he stops barking. Many dogs quickly learn that quieting down when you say “enough” is a way to get treats. If he jumps up on people, teach him that if he does this, the people will leave, but if he sits, he will get treats and attention. Since the majority of jumpers do so out of an urge to be social, they quickly learn that jumping up makes people go away. They choose to sit instead, which results in the opportunity to socialize and get treats as well.

Even if you prepare ahead of time, there’s plenty to do during your visit to make sure that the holiday is remembered as a fun one rather than as the last family holiday to which you were allowed to bring your dog. Exercise, chews, toys and puzzles can minimize behavioral issues such as destructive chewing and counter-surfing, which tend to worsen when dogs are bored or full of pent-up energy. Bring a crate if your dog likes it and your hosts have enough space. Help clean up, especially if the mess involves dog hair or sloppy drinking at the water bowl. Seize the opportunity to put leftovers out of your dog’s reach, and volunteer to take out the trash.

As soon as possible after you arrive, practice the skills your dog already knows so that he can learn to do them in new places, too. One of the things that separates professional trainers from novices is that professionals know that training doesn’t automatically transfer to new locations. For example, just because your dog has a rock-solid stay in your living room doesn’t mean he knows how to respond in the same way in your yard, at the park or at Grandma’s house. Even a couple of five-minute training sessions can significantly improve your dog’s performance and manners.

Obedience skills aren’t the only ones that may drop off away from home. Many dogs who are completely trustworthy when left at home alone are stressed, scared or mischievous when left alone in a new place, all of which can result in house-soiling or the aforementioned destructive chewing or counter-surfing. The change in routine, a new place and additional people may also make dogs more likely to exhibit these unwanted behaviors. Adjust your plans—and expectations—accordingly.

Faux pas may occur, but focusing on prevention will help your dog succeed. Don’t set up your highly food-motivated dog to fail by leaving him alone, even for a minute, while the turkey is on the table. If you know your dog has a tendency to find food or shoes, don’t put temptation in his way. Make some areas of the house off limits, or use a crate so that your dog never gets the opportunity to display anything but his best behavior.

No matter how things go, send a thank-you note to your hosts, perhaps accompanied by flowers, to express your gratitude that you and your dog were welcomed into their home (and, if necessary, to apologize).

Ideally, holidays are fun, not stressful. With thoughtful preparation and prevention, you can insulate yourself, your dog and your hosts from the dark side of this festive season. You will then be free to focus on the joy of togetherness for everyone, whether they sing “Fa la la la la” or “Bow wow wow wow wow.”

Karen B. London, PhD, is a Certified Applied Animal Behaviorist and Certified Professional Dog Trainer whose clinical work over the last 17 years has focused on the evaluation and treatment of serious behavioral problems in dogs, especially aggression. Karen has been writing the behavior column for The Bark since 2012 and wrote The Bark’s training column and various other articles for eight years before that. She is an adjunct professor in the Department of Biological Sciences at Northern Arizona University, and teaches a tropical field biology course in Costa Rica. Karen writes an animal column, The London Zoo, which appear in The Arizona Daily Sun and is the author of five books on canine training[4] and behavior. She is working on her next book, which she expects to be published in 2017.