to punish sb severely
have / tan sb's hide
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition