Tu Quoque

Tu Quoque, Latin for "you too", is a type of logical fallacy in which the speaker deflects or redirects an accusation or attack by accusing their opponent of the same.

Pointing out hypocrisy in of itself is not a logical fallacy, but when it is used to deflect blame or escape criticism it is, because the mere existence of hypocrisy does not excuse whatever act is in question.

For example:

A person getting caught stealing from a big-box retailer might use the tu quoque fallacy by saying "Yeah I stole, but this store steals customers from the mom and pop store down the street!"