When you block someone, they’ll no longer be able to contact you (ex: send you messages, call you) on Messenger or on Facebook chat. However, you can always unblock a person whenever you decide to do so.
To block messages from someone:
iPhone and iPad:
Open a conversation with the person you want to block
Tap their name at the top of the conversation
Scroll down and tap Block
Tap next to