One of these will definitely do the trick
Discord Installation Fails on Windows 11? Try These Fixes!
Having trouble opening Discord on your PC? Several factors, including unexpected software issues, conflicting settings, and corrupt files, can cause the app to crash or freeze on startup. In this troubleshooting guide, you’ll learn several ways to fix Discord startup issues in Windows 10 and 11.
It’s best to close Discord completely before trying to launch it again. That should fix any random technical issues that are preventing the app from opening. To do that, right-click on the Discord icon in your system tray and select Quit.
If your system tray icon is not responding, you can close Discord and any stuck background processes using Task Manager in Windows. Here's how: