When we generally search the Internet how to block SMS or text messages on our mobile phones, it is because someone does not stop harassing us at all hours, whether it is a contact with “a desire for war” or a company eager to get hold of their services. .

Luckily, all phones ring with a spam filter or the possibility of adding phone numbers to the blacklist so that we stop receiving message notifications every two by three. Each brand usually has its own system but broadly speaking, both on Android phones and iOS the process is quite similar.
Block SMS on Android

We are already working with One Ui (Samsung), MIUI (Xiaomi), EMUI (Huawei), Realme UI (Realme), or LG UX (LG), the process to block text messages is quite similar to what we found in the version purest Android. We can also avoid SMS from specific contacts or from any number that we do not have stored in the phone memory.
Block text messages from contacts on Android
All customization layers follow the same process, varying the name of the lock setting. Just go into the message app and touch and hold the SMS thread you want to block. Depending on the operating system installed on the phone, the option to Block or mark as Spam will appear.

By doing so the sender will be blocked and you will no longer receive text messages or calls from that number. Also, the current thread will be archived.
Block SMS from strangers on Android
You can also enable the spam filter and it will automatically filter messages from unsaved contacts on the phone. To do this, click on the three vertical points in the Messages application and then touch Spam and blocked. Choose the SIM card you want to enable spam filtering by checking the Spam Protection option. Use the button to enable it and repeat the operation with another SIM card if you are using a dual SIM on the phone.

Block SMS on iPhone

Similarly, if we work with any version of iOS, even if the screenshots are from iOS 14, we have the option of filtering spam or blocking contacts so that we are not harassed with messages.
Avoid SMS from contacts on iOS
To block the messages of a certain person connected on iPhone, what we have to do is go to the contact file from the phone app or from the iOS calendar. You can also access it directly from the conversation in the Messages app and by tapping the name at the top of the conversation. This is where you will locate all the information of your acquaintance and, below all marked in red, the option to block it.

By clicking on “Block this contact” we will not only prevent you from sending us SMS, it will appear on our “black list” and you will not be able to call us on our mobile phone.
Block SMS from strangers on iOS
If what we want is not to individually block a certain number of contacts, but to all those phones that we do not have stored in the agenda and that usually harass us with messages and calls at all hours, iOS also gives you the option to do so.

In this case, you must open the Settings app and go to the Messages section. Once inside you must locate and activate the option “Filter unknown”. What you will achieve with this is to eliminate all kinds of notifications and messages sent by senders that you do not have stored on your phone. This does not mean that they disappear but that they will be shown in a new tab called “Unknown” that will appear in the Messages app.