‘Stick it to someone’ means to deliberately hurt or embarrass someone, but usually with the idea that it’s justified, as revenge for example.
It sounds old-fashioned. I neither use it nor hear it. (TV shows, of course, have to be interesting and therefore can’t have realistic dialogue!)
A well-known example is:
‘Stick it to The Man’ (Urging the powerless to rise up against the powerful)