If it's in a website:
Click Ctrl + Shift + Esc > right-click the browser with the scam site > click End task.
If it's through an email:
Send it to junk / spam mail category.
If you're seeing them as desktop notifications:
In the browser which is allowing the site to show the notifications, click Ctrl + H > clear all data.