Which phone?
Which version of android?
Which carrier?
Which SMS app?
Normally the best you can do is to block the phone number, but they are usually spoofed.
If the SMS spam is coming from an email address, add a contact with that email then block the contact.
Some of the carriers have an automated system you can forward the message to thus helping everyone.