The best method is to block the caller. To do this, tap the spam message then tap Details > Info (i) > Block this Caller > Block Contact.