At first, You need to run The audio troubleshooter, it might be able to fix audio problems automatically.
If The audio troubleshooter did not fix the problem then you need to check for updates, if there is any update available, then restart your PC and see if your sound is working properly.
If that didn't solve your problem then Restart Audio Services