Media and literature should have strict self - regulation. Publishers and producers should have ethical guidelines in place and not allow such inappropriate content. For example, they can have a review board to filter out any content that is unethical or promotes illegal behavior.
One way is through public awareness. People should be educated about the negative impacts of such topics. If the public is more conscious about what they consume, they will not support media or literature that contains 'blackmail hindi sex stories'. Additionally, media platforms can have algorithms in place to detect and block such content, and literary awards can be given to works that uphold positive values and avoid unethical topics.