What model PC and Operating System? (that should be on any initial problem post - it can make a difference and allow someone to give you specific assistance).
General suggestions (1) verify that the headphones are good. (2), make sure you are fully inserting the headphone plug into the speaker jack. If you are still having problems, power off the PC, open the case and reseat (unplug then plug back in) the connector from the front panel headphone jack to either the motherboard (if you have on-board sound such as SoundMax) or to the SoundBlaster card.
There's a possibility that the headphone jack is damaged and not making good contact, but that is not very common.
I am not a Dell Employee
Dell forum member since 2002
Inspiron 15 - 5577 Laptop
Home Built Desktop PC with ASUS Z170, i7 6700K CPU, Windows 10 64 bit Pro. SSD drive. Sonar Platinum Recordng Software.
Member of Nashville based R.O.P.E.