We are sorry to hear you received unwanted messages, and we will do everything we can to help you.
To block a number or a contact:
Swipe your finger from right to left on the message from the Inbox page.
Tap Block/report spam
You won't receive any more messages from this person until you decide to unblock them.