1. Click the volume icon and check the right output is chosen (speakers, headphones or HDMI TV).
2. Settings, Sound: choose the output device and test it.
3. More control: sudo apt install pavucontrol, open Volume Control, and check the Output Devices and Configuration tabs. Nothing should be muted or "Off".
4. In Terminal run alsamixer, press F6 to choose the sound card, and unmute channels with M.
5. Restart the sound system: systemctl --user restart pipewire pipewire-pulse wireplumber
6. HDMI no sound: select the HDMI profile in pavucontrol's Configuration tab.