Tan (someone`s) hide

To give someone a beating, to spank someone hard.

The boy`s mother threatened to tan his hide if he did not behave himself.