In order to resolve the issue, you need to check Sound Settings by following the steps.
Besides checking whether your speakers are muted or the volume is turned up, you can check to ensure your devices aren’t disabled. To do this, click Start > Settings > System > Sound. Select your device and then click Device properties for your input and output devices.
Uncheck the Disable checkbox for your devices and check if the audio works again.
In case that doesn't fix the issue then you need to Update Audio Driver by following the below steps.
Outdated or malfunctioning drivers can also cause audio and other hardware problems. Check that your audio driver is updated, and if not, update it. You can also uninstall it and it’ll automatically reinstall on your computer, use the generic Windows audio driver or try and roll back the audio driver.
To update your audio driver, right-click Start > Device Manager.
Expand the Sound, video, and game controllers category.
Right-click your sound card or audio device, and click Update Driver.
Click Search automatically for updated driver software.
Windows will search for a new driver. If not, check the device manufacturer’s website to download an updated audio driver.
If updating the audio driver didn’t help, uninstall it and restart your PC to reinstall the driver. To do this, go to Device Manager > Sound, video and game controllers and right-click your audio device or sound card. Select the Uninstall device.
Click Delete the driver software for this device box, and select Uninstall. Reboot your laptop.
You can also click on the below link for detailed steps to resolve the issue.
Hope it helps.