例例文
He always ignores me, so I gave him a taste of his own medicine.
彼がいつも私を無視するので、同じように仕返ししてやった。
EN英英で言うと
to treat someone as badly as they have treated others
源語源・イメージ

イソップ寓話で、偽医者が自分の作った薬を飲まされ、それが効かないことがばれた話に由来するとされる。
!入試ポイント
get a taste of one's own medicine(同じ目にあう)の形も。
「A がしたのと同じひどいことを A に仕返しする」。A's には相手の所有格が入る(give him a taste of his own medicine)。get a taste of one's own medicine で「自分がしたのと同じ目にあう」。medicine は単数・無冠詞。
同じ意味pay A back
VSここが違う!
give A a taste of A's own medicinevsget even with ~
get even with ~ は「~に仕返しをする」で、方法は問わない。give A a taste of A's own medicine は「A と同じやり方で」仕返しする点が特徴。見分け方:同じ手口でやり返すなら own medicine。
He's always late, so let's give him a taste of his own medicine. / I'll get even with him someday.
覚覚え方
人に飲ませていた苦い薬(medicine)を、本人にも味見(taste)させる、という絵。自分がしたことの苦さを思い知らせる=同じ仕返し。
Q入試形式の例題
Ken is always rude to others, so someone should give him a taste of his own .
「同じ仕打ちで仕返しする」は give A a taste of A's own medicine で、medicine に決まっている。pill / drug / cure を入れても決まった表現にならない。いつも失礼なケンに、同じ目にあわせるべきだという内容。