Taste of your own medicine

Question

What does “taste of your own medicine” mean?

Answer

It means to experience the same unpleasant consequences that you have inflicted on someone else.