Well, really the only way to do that is to try and fix the underlying problem, which is largely the ignorance and or malice of men IRL. That's a societal issue though, and one that can't be fixed by Lemmy on Lemmy.
The best method online is just good moderation and not to let their (harmful actors) disingenuous "but mah free speeeccchh" arguments work.