Howdy and thanks for posting.
Depending on your phone's capability, the steps on how to block a number can be found in the How tos section on it's dedicated page. You'll need to go to the How tos > Communications > Block Calls. If you still need help finding it, tell us what phone you're using and we'll help figure this all out.
Manage your T-Mobile account