/> Many pet problems arise the same way, and the solutions may be just as straightforward. If your dog jumps up on you when you come home, it’s because your reaction, like Weiss’s to the chimps, is rewarding. Try turning your back and not making eye contact or speaking until your dog stops jumping. The behavior eventually should disappear. In other cases, you may need to think about how to prevent the behavior before it starts. Consider a dog that barks constantly, or what zookeepers call stereotypical behaviors, such as pacing up and down the same part of an exhibit. The first step is the same: Be sure you’re not accidentally rewarding the behavior. But after that, your best bet isn’t trying to train the animal to stop doing something. Rather, says Lisa Stevens, curator of pandas and primates at the National Zoo, "Change the environment that elicits the behavior.” This requires some observation. For pandas, keepers may notice that pacing starts at a certain time of day, for example, and changing the animal into a different enclosure before that time may be all that’s needed. Likewise, if you figure out that your dog’s barking begins when a person or dog walks by, the best solution may be restricting access to the room that faces the street or not leaving it in the yard alone — much simpler than the big project of training the dog to stop barking on command. Finally, make sure your pet’s lifestyle allows it to exercise its natural abilities. Part of what zoos call "enrichment” is providing a complex environment that allows an animal to perform its natural behaviors. A panda that has opportunities to climb and search for food is less likely to pace. Likewise, a dog needs enough exercise and chances to use his brain. Give your dog enough chances to be a dog, and he’ll get into less trouble. "Often, behavior problems in dogs are because they’re not living in an enriched environment,” Stevens says.