People under attack have to be prepared to defend themselves with reasonable force and with anything that is normally used, like umbrellas or car keys. One item you might find useful is a personal alarm. Carry it ready for use. It may be effective in deterring a would-be attacker. What the law does NOT allow is carrying anything which can be described as an offensive weapon e.g. knives, toxic sprays.
Racial harassment occurs in schools.
Badges with offensive slogans, verbal abuse, bullying and attacks are all common methods of inciting racial hatred among fellow students. On another level, racism can come from those adults who allow racial prejudice to affect their behaviour, or allow racial incidents to develop. If the incident involves other children in the school, report it to the teacher or head teacher. Incidents of racial harassment by a particular child may be reported to the police. Incidents may be taken up with the local education authority.