{n. phr.} Being treated in the same way you treat others; something bad done to you as you have done bad to other people. * /Jim was always playing tricks on other boys. Finally they decided to give him a dose of his own medicine./
TASTE OF ONE'S OWN MEDICINE
Meaning of TASTE OF ONE'S OWN MEDICINE in English
Slang English vocab. Английский сленговый словарь. 2012