Troubleshooting guide
How to fix the problem
Settings > System > Notifications; turn off notifications for specific apps.
If the problem persists
If the messages remain, check your app-specific settings and browser website permissions. Do Not Disturb silences them temporarily, but does not remove the site's permission to send messages.
Request a repair