Negative attitudes toward certain groups are referred to as prejudice.
It is when you have negative feelings towards someone, or a certain group of people, usually without having a valid reason for such prejudice. Prejudice is often based on wrong and incorrect information, and is usually related to closed-minded people.