You get an app from the Market. There are lots of call blockers out there. I use Mobile Manager's Call Blocker. Works great, except that it doesn't block "unknown" or "private" numbers. You can blacklist/whitelist numbers for SMS or calls, though. I use the free version, but there are lots of paid blockers out there, too. Not sure if they're any better.