The following is a list of five measures that may be taken to filter or prevent unwanted SMS. Do not react to any messages that are undesired. Notify your mobile service provider if you are being harassed by spammers. Filter possible spammers. Spammers should be blocked individually. Make use of a text-blocking software that costs money.