I went through a bad period of being hammered by all manner of freaks and weirdos a few years back, because of a post on Boing Boing about my altered book work. It was an all-out assault on the comments sections of my sites, social media, and any method of messaging available. Also, rampant hot linking of images from my sites, to create nasty posts.
I pulled down my web sites for a few months, and walked away from the Internet. When I came back, for a while, my work was only available behind a registration wall, and all avenues of contact were closed to anyone who wasn’t known to me. Even years later, I still don’t allow DMs on Twitter or comments on YouTube. Commenting on most of my web sites is disabled. I don’t accept friend requests on FB from anyone I don’t know in real life, and reroute strangers to my art page there. I don’t post my email address anywhere.
That pretty much put an end to most of the nonsense.
I don’t interact with people who message me randomly, on any platform, unless the interaction feels safe. I report any unwanted contact that falls outside the terms of a site, and let the powers that be take care of it. I block liberally. My general attitude about interacting with people online is that the moment I feel unsafe, or disrespected, I make myself completely unavailable for any future contact.