Click the Control Center icon in the menu bar
Turn on Do Not Disturb
Open System Settings
Click Notifications
Turn off Allow notifications when mirroring or sharing the display
Set notification alerts to None for specific apps
Turn off notifications for individual apps
Use Focus modes to silence notifications
Schedule Do Not Disturb in Focus settings
Enable Do Not Disturb from the Notification Center
Mute notification sounds in Sound settings
