give one some of his

[give one some of his] or [her own medicine] {v. phr.} To treatsomeone the way he or she treats others (used in the negative).

Thegangster beat up an innocent old man, so when he resisted arrest, apoliceman gave him a little of his own medicine.