Go to your browser settings and clear your cache and cookies to remove any tracking scripts left behind by the site.
Use a trusted antivirus or anti-malware tool (like Malwarebytes or Windows Defender) to check for any files that may have been silently downloaded.
Immediately close the browser tab or window. If the page is "frozen" or shows a fake error, use Task Manager (Ctrl+Shift+Esc) or Activity Monitor (Cmd+Space, type "Activity Monitor") to force-close your browser.
Review your browser extensions and remove anything you don't recognize, as these redirects are often caused by "adware" extensions.