You can't block them really. If they're sending nasty messages then you scroll down and hit "block user" and that will stop messages, and you can make it in settings so no one you're not a fan of can't post on your wall. That's really it though. If they're harassing you then report them.