Yell? Spray? Teach? Yelling and jerking a leash hurt the heart.
Some puppy parents are advised to hit a mouthing/nipping puppy on the nose. But punishment may trigger fear and defensive behavior.