Go to dialing pad,select more, find settings, you should see call blocking under call settings, tap call blocking, tap block list and go for it. If you get a message or a call from unwanted person, you can block them from there too.
The network service provider can block numbers too...