nail someone to the wall

Verb

 * 1) to punish or discipline extremely harshly