Fight fire with fire meaning

HOME PROVERBS

fight

Fight fire with fire

meaning that:
You should fight your opponent by using the same methods or weapons that the opponent uses.
also
You cannot fight fire with fire