Woodshed treatment
From wipipedia.org
A woodshed treatment means a very severe physical punishment.
The original significance was that a father would take his son to the bottom of the garden, behind the woodshed, out of sight and to some extent out of the hearing of female members of the family who might be distressed.