ex boyfriend won't leave me alone.

I broke up with my ex boyfriend 3 months ago and I block his number and everything. He still text me from other random numbers and won't stop even though I told him to stop. At this point, it's really annoying. What would you do?