Some phones have call block in Call Settings (open Phone app > Call settings). If there's none in your phone, you can easily install a call blocking app which you can download from Google Play store.