If it’s not clear which jack goes with which cord, consult your hardware manufacturer, or try the most obvious outputs one at a time and see if they work. If you have multiple 5mm jacks to plug into, especially on a surround sound system, make sure all cords and cables are plugged into the correct jack.
Make sure all cords and cables are plugged in. Check your speaker and headphone connections for loose cords or cables.