pagar con la misma moneda

Verb

 * 1)  to give someone a taste of their own medicine