Welcome to Android Central! Which phone? Some phones have that function built-in. Your carrier usually has a blocking option as well. Another possibility is to add that number to your Contacts, then select it in the Contacts app and select "All Calls to Voicemail."