 getting rid of that pent-up energy well get rid of some of the barking if your dog is barking at you pay no attention in fact turn your back on your dog the more attention you give your dog the more you're actually encouraging the barking yelling doesn't work if you're ignoring your dog and he stops barking that's when you give praise good dog you can give a treat too