a taste of your own medicine

Definition: When you are mistreated the same way you mistreat others.

Discuss this Idiom in the comments below.