Hi, welcome to AF.
If you r asking about an app, I lke Blacklist or TrueCaller. You can also dial *67 to block on individual calls, It doesn't stay on block. *67 has to be dialed b4 each n every call. I program some numbers in my phone book with *67 in front of a few contacts.