Click on the notifications icon, then Manage Notifications. You can either turn off all notifications, or choose which apps you only want to receive notifs from.
You can also right-click on the notifications icon > focus assist, then choose if you want to get priority or alarms only.