Recently, I spent a good part of the day doing yard work. During this time, I repeatedly heard a neighbor yelling at his dog to stop barking. His yelling was frequent and varied, often escalating to a very strident level in order to get his dog to shut up, though it was always only temporary.
I don't know what was triggering the dog's barking, nor do I know the neighbor or the dog. What I do know, however, is that the yelling was not an effective strategy long-term. I say this because the yelling had to be repeated many times over the day.
But here's the thing: in the moment, when a dog shuts up after we yell, the behavior of yelling is reinforced by the quiet that ensues, even if it doesn't last for a long time. The science of learning is clear on this matter. Reinforced behaviors maintain or strengthen over time.
So what can we do about barking? What strategies work long-term?