Take them out and shoot them

(Just joking!)
I find that if people see that whatever they are saying doesn't bother you, they tend to leave you alone. It's hard to do but if you can pretend that it doesn't bother you, they will eventually leave you alone.
Maria