One thing that helps is if you can tell your dog is barking just because, they might have too much pent up energy. If Smokey starts in one of his barking fits it's because he has too much energy and wants to play, so I usually just take him outside to run to stop myself from reaching for the duct tape lol