Settings → System → Sound → Troubleshoot
Press Win + R → type services.msc
Find Windows Audio
Right-click → Restart
Press Win + X → Device Manager
Expand Sound, video and game controllers
Right-click your audio device → Update
If not working:
Uninstall → Restart PC