I don’t really know the answer
two sheds but something I found with mungo during our first year or so together was that working on training, bonding outside together meant that there were fewer opportunities for him to have a wrong reaction to another dog, or a person that made him uncomfortable.
The focus of our morning walk would be (eg) gradually working towards getting him to down stay while I walked a 6 metre circle around him. We’d stop for a few minutes every so often, have a go at a simple element of making this happen, and he’d be rewarded with a bit of his breakfast. He knew I had food reward and he was peckish so kept pretty focussed on me, and successfully completing a task.
And through this gradual process we built communication and trust. We used picnic tables and benches to practice hup, over, off etc. not always with great success. I learned to quit while I’m ahead.
He is by no means, as my posts on this thread will attest, a well trained obedient dog and we’re still a work in progress, but having that thing to do together while out meant that the other people and dogs were less important, and that he was in the groove of responding to me. I found doing a lot of our training outdoors very beneficial.
This is all very waffly, sorry, I hope you get the gist and it might be of any use.