1. Separate unknown senders
In Settings open Apps > Messages and turn on the option that screens or filters unknown senders. Texts from people who are not in your Contacts then go to their own list.
2. Report and block a number
Open the text and use the report option, or block the contact. This works for one number at a time, and spammers often change numbers.
3. Filter by words you choose
iPhone has no word list of its own. A message filter app such as ZeroSpam adds one: you enter a word, a sender number or a number prefix, and matching texts from unknown senders go to the Junk (Spam) list. ZeroSpam checks texts on your iPhone; message content is never sent to us.
4. Do not reply
Do not tap links or reply to a suspicious text, not even to ask it to stop, unless you know the sender. A reply can tell the sender that your number is active.

