If your coach yells at your team for sloppy play, her post-game speech might be called a castigation. A castigation is a harsh verbal reprimand.
No one likes to be on the receiving end of castigation. The word comes from the Latin castigus which means "to make pure." Try to remember during castigation that the castigator is, in their own misguided way, trying to make you a better person. But that may be hard to think of when someone is bawling you out.