What is the make and model of your computer?
First, run the Playing audio troubleshoot - open Start > Settings > Update & security > Troubleshoot
Scroll down, select Playing audio
Click Run the troubleshooter
When complete, restart your computer then check if audio is working again.
Press Windows key + X
Click Device Manager
Expand Sound, video and game controllers
Right click your audio adapter
Click Properties
Click the Driver tab
Is there an option rollback?
If so, click it.
Also, check to make sure the audio driver is fully updated. This is often the problem when you upgrade to a new version of Windows 10. Sometimes reinstalling the latest available driver from the manufacturers website helps.