Press Win + I.
System → Sound.
Look under Output.
Check whether Speakers (Realtek Audio) or Speakers (Intel Smart Sound Technology) appears.
Press Win + R.
Type services.msc.
Find Windows Audio.
Right-click and select Restart.
Do the same for Windows Audio Endpoint Builder.
Right-click Start and open Device Manager.
Expand Sound, video and game controllers.
Check whether your audio device has a yellow warning symbol.
Also check Audio inputs and outputs.