If a player has been affected by racist chanting, then it is up to the officials to stop the game and make sure a message is read out to the supporters asking them to stop.
Aluko, Eniola. "Raheem Sterling is Showing Us How to Take a Stand Against Racism." The Guardian, Guardian News & Media, 13 Dec. 2018.
Sourced by: Quote.org sourced