Never punish a dog. The goal is communication with your dog and a correction of behavior is all that is needed.