Do you remember the research about babies, that we saw once in class? It was about the prejudices or the seed of it, that is present in babies.
I think that being a bigot may sadly be our nature and that proper socialisation and education is crucial for developing an adult who is able to recognise their biases and work to overcome them.
I believe that the best way to get rid of a prejudice is to have many experiences with a different people from that group. So – the more diverse is the social surrounding of a person growing up, the more open they may be for people in the future maybe?