To block a specific sender, open the spam message. Tap Details > Info > Block this Caller, then confirm with Block Contact.

To report the spammer, you’ll see a blue Report Junk option underneath the spam message. Tap it and select Delete and Report Junk. Otherwise, you can send an email to imessage.spam@apple.com with a screenshot of the spam, and the phone number that sent it.