You need to provide more info about your setup, eg. what hardware you use etc.
Also just a FYI i use an USB-External speaker with the sound output of my monitor pluged into it, which also doesn’t give any sound sometimes.
But that is corrected by turning off-then-on-again the USB device using it’s own buttons so it re-initializes.