to be punished / punish sb severely
get / give sb what for
I'll give her what for if she does that again.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition