The easiest step to take when trying to fix audio issues is to let Windows do the work. And that means running one of the built-in troubleshooters.
Also: How to force-quit applications in Windows
Right-click the audio icon in the System Tray and select Troubleshoot sound problems.
In Windows 10, the Get Help app will ask for permission to proceed with the diagnostics and try automated steps to fix the problem. Click Yes. The Windows 10 troubleshooter will then your system for audio issues. It may try to play a tone and ask if you can hear it. It might also try to update your audio driver. Allow it to take the suggested steps. If the troubleshooter is able to resolve the glitch, great. If not, it will tell you that it couldn't fix the issue and offer some Microsoft support articles that might help.
In Windows 11, the troubleshooter cuts to the chase and automatically starts the quest to detect audio-related problems. Depending on your audio setup, you may be asked which device to troubleshoot. Choose the correct device and let the troubleshooter proceed on its mission.
Also: How much RAM does your Windows 11 PC need?
The troubleshooter may offer some suggestions along the way. Again, if the troubleshooter is successful, hooray. If not, it will likely tell you that it couldn't identify the problem.