Experience in a correction for barking
When I leave to work, Rex is confined in a room that has nice windows leading to a stairs where at the end I close with a pet gate. I put nothing in there so it is "puppy proof" and it is a nice space for me to leave him in when I am out. He is 14 months old.
When I close the gate and he sees me ready to leave, he starts barking. After I leave, he quiets down. The last week, as soon as I start going down the stairs he starts barking and barking until I open and I leave. A good 3 minutes or high continuous barking. I think he started to realise that I am leaving and he starts barking continuous. Super loud. I ignored.
Two days back. I reacted and involuntarily I yelled "Quiet!!" as I was going down the stairs. I did not like it but I yelled high; it was kind of a reaction. He lowered his ears and gave me that look and stopped barking. I left and he did not bark in the process. So it was a verbal yelling correction in the moment I guess. I realise that I should not yell but it happened. However, it has been two days now where the process has been happening with no barking and no correction.
The time I did it and I yelled, I felt guilty all day. And to be honest, I did not know that it would stop. Then again, after the last two days where he actually is not parking, I thought hmmm, maybe it was a "good correction" as the process for the last two days is calmer. He just waits at the stairs excuted untill I leave but no barking.
Sorry for the ramble....I realise we say no yelling. But perhaps because of the timing and just one yell it was good enough to stop the behaviour somehow.
Did I go worng anywhere in this?