Later at the end of the day, revisit the conversation (chances are high your child would have forgotten it, but still) and tell them why it is not okay to judge people by their appearance. Explain to them (as per their age) why we are all different, and we need to accept people for who they are. There are so many books today that deal with the topic of diversity, empathy and kindness, written for kids. Get them and read it together with your child.