What is the meaning of "give someone a taste of one’s own medicine"?

The meaning of "give someone a taste of one’s own medicine" is:

use the same methods as your enemy


What is the definition of "give someone a taste of one’s own medicine"?

The definition of "give someone a taste of one’s own medicine" is:

use the same methods as your enemy



"give someone a taste of one’s own medicine" means

use the same methods as your enemy

Example Sentences:

When Shania’s boyfriend kissed another girl, she decided to give him a taste of her own medicine, so she cheated on him.

A: My ex-wife is suing me!
B: Why?
A: She says I have to pay her money!
B: You should give her a taste of her own medicine! Sue her!

From the Blogs:

Paxman gets taste of own medicine after PR jibe
Media:

give someone a taste of one's own medicine