Media and literature platforms should have strict content screening policies. For example, they can use software to filter out key words related to inappropriate content. This helps to prevent such stories from being published or spread.
Educating the public about the negative impacts of such inappropriate content is also crucial. When people are aware of how it can corrupt minds, especially those of the youth, they are more likely to reject and avoid it. This can be done through school programs, public awareness campaigns etc.
Authors and content creators should have a sense of social responsibility. They should refrain from creating such inappropriate content in the first place. Instead, they can focus on positive, educational and inspiring topics that contribute to the well - being of society.