To disable notifications go to Settings > Apps and Notifications > Click on notifications > Application notification management > and switch off all or for individual applications switch off as required for your use case.
To disable notifications go to Settings > Apps and Notifications > Click on notifications > Application notification management > and switch off all or for individual applications switch off as required for your use case.