Here are some steps you can take to block unwanted calls and text messages:
Check with your mobile service provider to see if they have a blocker app to help you manage these unwanted texts and calls.
Install a spam filter app orenable the spam filter on your phone.
Check if your phone supports blocking specific callers.
Make sure you are registered on the DNC (Do Not Call) list.