Are you asking about a tu quoque argument in logic?
A tu quoque is a logical argument, which attempts to point out that "you too or you also" (the Latin translation), are doing what is being argued (or discussed).
I would say that this is like the pot calling the kettle black.