Tu quoque (/tjuːˈkwoʊkwiː/;Latin for, "you also") or the appeal to hypocrisy is an informal logical fallacy that intends to discredit the validity of the opponent's logical argument by asserting the opponent's failure to act consistently in accordance with its conclusion(s).
Tu quoque "argument" follows the pattern:
An example would be
It is a fallacy because the moral character or past actions of the opponent are generally irrelevant to the logic of the argument. It is often used as a red herring tactic and is a special case of the ad hominem fallacy, which is a category of fallacies in which a claim or argument is rejected on the basis of facts about the person presenting or supporting the claim or argument.