If you are using Safari and the site is blocked, try Chrome or Firefox.
Go to System Settings > Screen Time > Content & Privacy to see if website restrictions are active. why is my mac blocking websites
If you see 127.0.0.1 www.facebook.com in /etc/hosts , Facebook will be blocked on all browsers. If you are using Safari and the site