Social media companies must delete the accounts of users who abuse other people online, says Rob Earnshaw.
But the former Wales striker said this must also go hand in hand with educating those who inflict such abuse.
Earnshaw was reacting after Wales players Ben Cabango and Rabbi Matondo were racially abused on Instagram after Wales' 1-0 win over Mexico on Saturday.
"It's something very serious and it's not new," Earnshaw told BBC Radio Wales Breakfast.
"The difficulty is always there's not only one thing that we can do, there's small little parts we can all do, and we can all build towards making it better and eradicating it.