Pause before reacting. This is often a sign of exposure, not intent. Responding with shock or punishment can shut down disclosure.
You can say, “I’m glad you said that out loud so we can talk about it. Where did you hear that?” Then gently explain why the language or idea is harmful and what a healthier alternative looks like. This approach teaches without shaming.