fight fire with fire

To fight fire with fire means to respond to an attack using the similar method you were attacked with. Literally, fighting fire with fire results in using a weapon against the same exact weapon. Figuratively, this idiom is referring to the same thing but without actual weapons. In your personal life, for example, you would fight fire with fire such as responding to a verbal attack with the same type of verbal attack on the other person.