Talk it out, change the culture -- the same way so many other problems have been solved. Homosexuality went from culturally prohibited to culturally celebrated over the course of time. Surely we will find ways to inoculate ourselves and our culture against misinformation and rage-bait as well.
That's a rose-colored reimaging of the past, including for your own example. I imagine most problems you'd point to were solved via criticism, protests, violence, and more.
To look at your example in a US-centric light, being homosexual was literally lethal for some and cost thousands others their jobs. LGBTQ+ people are still losing their jobs for being homosexual. People are still saying things about the LGBTQ+ community that are statistically and provably untrue.
I personally don't understand why we would hold those perpetuating such things above criticism or force association.