Hi! This has happened to me before! If you just go into settings, and then click the security and privacy button, then you should see a something that has a button that says "Allow App" or something like that. Hope I helped,
This happened to me when I got my Mac. just go into settings, then click security and privacy, then go into one of the tabs that it has, then click on either General, FileVault, or Firewall, then click allow Clangen. If it doesn't pop up, download Clangen and then try it. I hope I helped!
This has happened to me before. I suggest getting Microsoft Edge or another browser. But if you can’t or that doesn’t work, just redownload your browser. That should fix it.