you can first start y going into settings to check the audio settings because for some reason the audio can say disabled which makes it not play. you can also connect a bluetooth speaker ot the laptop if you have one to temporarily fix the problem.
if it is a software problem follow this guide ([link|https://support.microsoft.com/en-us/windows/fix-sound-or-audio-problems-in-windows-73025246-b61c-40fb-671a-2535c7cd56c8#ID0EDBD=Windows_10|Microsoft Audio Guide for windows 10/11|new_window=true])
if it is not a software error you may need to replace the speaker.
Hope this helped.