To retaliate with the same methods that one has had to endure.
What Shakespeare was referring to in King John, 1595: Be stirring as the time; be fire with fire; Threaten the threatener and outface the brow of bragging horror