a dose (ortaste) of your own medicine the same bad treatment that you have given to others.
☞ The idea of taking or receiving your own medicine has been in metaphorical use since the mid 19th century.
2012Daily Telegraph Paxman was given a taste of his own medicine in an amusingly bad-tempered exchange with John Humphrys on the Today programme on Friday.