Can refer to a physical punishment or a metaphorical defeat.
La zurra que le dieron por llegar tarde fue bastante severa.
The beating he received for arriving late was quite severe.
Recibió una zurra por llegar tarde a la reunión, lo cual no fue justo en su opinión.
He received a beating for being late to the meeting, which he felt was unfair.