The appropriate way to respond to someone who tells this joke is to explain why it's offensive and hurtful. You can educate them about the harmful effects of perpetuating stereotypes and encourage them to be more mindful of their language and behavior.