How do I stop spam texts?

Starting about three weeks ago or so, I have received about 10-20 spam texts a day.

It's really annoying and I want it to stop! But howwww. I've heard everything from "do nothing" (so that the bots eventually think they're texting a dead number) to "block the number sending the texts" to respond "stop."

Anything work for you?

(And I have no idea what company sold my number, but I hope whatever 10% off discount code I got for entering my phone number was worth it!!! Ugh. Why did I enter my real phone number. Idiot!)