If you don’t want to get calls or texts from a certain phone number, you can block it. When the number tries to contact you, your phone declines automatically.
In Google Messages, you can block a number so you don't receive notifcations for incoming messages. In the message list, touch & hold the number, then touch
.