What does ‘give it to’ mean?

( vp ) To do something (unpleasant) to someone. If you don’t behave, I’m going to give it to you.