Block text messages
If you use iMessage to send text messages, you can stop receiving text messages from certain people.
Choose Messages > Preferences, then click Accounts.
Select your iMessage account.
In the Blocked pane, click the Add button and enter the iMessage address you want to block.
If you’re receiving email messages you don’t want, you can manage them in the Mail app. Just create a rule in Mail that automatically moves emails from people you specify to the Trash or another mailbox. For more information, see Use rules to manage your inbox.