https://www-sciencealert-com.cdn.amp...ll-at-your-dog
However much you want to, however, new research suggests that you should never yell at or otherwise punish a mischievous mutt.
According to a study released in pre-print last year and now published in PLOS ONE, aversive training such as positive punishment and negative reinforcement can have long-term negative effects on your dog's mental state.
More at link