Good. I always used voice coupled with a hand clap to train mine.
People who beat their dogs to "teach them who is boss" are just setting themselves up for being attacked.
The tricky part is someone has to be boss, otherwise there is anarchy.
My Uncle Buck was the best dog trainer I have ever seen. He had a German shepherd who would do just about any trick you wanted.
He also kept him away from livestock by having the dog stay inside an area marked only by a rope on the ground. This gave him maybe a 40 yard square place.
Uncle Buck would reward the dog but he would also strike them when he thought they needed it. A chicken made the mistake of getting inside the rope and old bright killed it. Uncle Buck tied the chicken around his neck.
I’ve always used a rolled up newspaper as the noise getting swatted with it bothers them more than a physical blow from my hand, which they would barely feel.
Hitting a dog with your hand is always a bad idea because then they get afraid of hands and may well bite someone defensively if they go to pet them, look at a dog tag, or whatever.
Plus the sight of the rolled up newspaper becomes immediate feedback that they are in the Bad Dog doghouse! In fact, they didn’t get actually swatted more than a few times. After that, showing the paper is enough.