My answer would be to avoid following individuals who promote hate or engage in inappropriate behavior. Ultimately, there is no algorithm in Nostr that can force unwanted content upon you.