Tu quoque

Tu Quoque is a logical fallacy (pronounced too-kwo-kwee) that literally means "you too" or "you also" in Latin. It means to answer criticism with criticism. People use it to divert attention from the argument at hand to the person making it. It can be considered a type of ad hominem argument.

From Merriam-Webster Dictionary: a retort charging an adversary with being or doing what the adversary criticizes in others.

This fallacy is also sometimes referred to as
 * appeal to hypocrisy
 * whataboutism
 * the pot calling the kettle black
 * two wrongs fallacy
 * look who's talking

Examples

 * Russia's response to American criticism of its human rights violations was "And you are lynching Negroes".
 * John makes the claim that Japan committed atrocities in Nanking. Jacob responds by deflecting attention on American atrocities against the natives. Jacob's response doesn't negate John's premise that Japan is responsible for atrocities.
 * Susanne complains that a certain politician from one party is corrupt. Stacy brings up an example of a corrupt politician from an opposing party. Stacy's example still doesn't change the fact that Susanne's example might be correct.
 * David is accused of playing with Tommy's toys without asking. He responds by bringing up a time when Tommy did something similar.