Here are the steps to block a number on Samsung devices:

1. Open the Phone app.
2. Tap on the three-dot menu button.
3. Hit Settings.
4. Select Block numbers.
5. You can toggle on Block unknown/private numbers if you want no strangers calling you.
6. It’s also possible to type in the number and tap the + button.
7. Additionally, you can block a number from the Recents tab by finding the number, clicking on the head icon, and clicking Block number.

If you want to block a number on the Samsung Messages app, navigate to a conversation with the number, tap the number or name, and tap Block number .

I hope that helps! Let me know if you have any other questions.