Go step by step and test.
1. Update Safari, if an update is available. Update may come with bug fixes.
https://support.apple.com/en-us/HT204416
https://support.apple.com/en-us/HT201541
2. Quit Safari, launch Safari holding the Shift key down.
https://support.apple.com/en-us/HT203987
3. Startup in Safe Mode. https://support.apple.com/guide/mac-help/start-up-your-mac-in-safe-mode-mh21245/mac.
Quote:
It also does a basic check of your startup disk, similar to using First Aid in Disk Utility.
And it deletes some system caches, including font caches and
the kernel cache, which are automatically created again as needed.