How do you respond to whataboutism or a change of subject?
Whataboutism shifts the subject of a debate by pointing to the hypocrisy of a position through comparison. It works because it often contains something true, which makes it uncomfortable to reject.
The most common reflex, denying that the objection is relevant, does not work: it gives the impression that you are dodging, which is exactly the intended effect.
A more solid response comes in two steps. Grant what can be granted, briefly and without reservation. Then place the debate back around an issue common to all these subjects: "that is a real subject, and I see the connection you are making. It seems to me that the real issue is therefore... What do you think?".