One way is to be selective about the sources we get our media from. Only choose reliable and family - friendly platforms.
We can use content filters. Many devices and apps have settings to block inappropriate content. By setting these up, we can prevent stories like that from popping up.