to change a situation so that you now have an advantage over someone who
previously had an advantage over you turning tables" means doing the same thing to the other person.
For example if someone hurts you, you find a way to
turn the tables and hurt them too.