It's generally better to address the root cause of your dog's barking rather than letting them "bark it out." Ignoring the barking could exacerbate the problem and create more stress for both you and your dog. However, make sure to avoid inadvertently reinforcing the barking by offering attention or rewards when they are barking.