This article explains how to block someone from contacting you using FaceTime or Messages on your MacBook.
The instructions in this article are based on a MacBook runningmacOS 12.2 (Monterey).
How Do I Block a Contact in Messages From My MacBook?

Here’s what to do:
InMessages, single click a conversation with the person you want to block.
In the confirmation pop-up, clickBlock.
You won’t hear from that phone number again.

Add or remove numbers from the blocked list with the+and-icons.
Can You Block an Unwanted FaceTime Caller on a MacBook?
In theRecentsmenu, single click a call from the person you want to block.

Right hit the call.
Aperson must be in your contactsin order to block them.
If they’re not, the Block This Caller menu doesn’t appear.

To block them, clickAdd to Contactsfirst and then block them.
Click+to add more numbers or highlight a number and click-to unblock it.
FAQ
The easiest way to block a website on a MacBook is through Screen Time controls.

Go toSystem Preferences>Screen Time>Content & Privacy, and then selectLimit Adult WebsitesandCustomize.
In the next window, you could set permissions and restrictions on individual sites.
you might block people directly from Messages and FaceTime.