One can start by promoting a culture of respect within the community. When people understand that these kinds of stories are inappropriate, they will be less likely to spread them. Additionally, laws can be made stricter to penalize those who spread such content.
Educate people about privacy and respect. Let them know that such stories are not for public consumption. Also, social media platforms can enforce strict rules against the sharing of such inappropriate content.
To prevent the spread, schools and families should play an important role in teaching values. They should instill in people the importance of respecting others' privacy and dignity. Moreover, media and public figures can also lead by example and not engage in or promote such inappropriate content.