I think you need to explain what the term means and that...
I think you need to explain what the term means and that it's a mean and derogatory term. And then you have to help your child to understand that it's the other child's problem who called them that name.