Just YouTube or all audio?
Did the audio get accidentally muted or set to a low value?
Update your post to include full system hardware specs.
What speakers/headphones are you using? How are they connected?
Did you try downloading the applicable audio drivers via the manufacturer's website. Reinstall and reconfigure?
Try running the built-in Windows troubleshooters. They may find and fix something.