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
Home Built PC with Gigabyte GA-Z77X-UD5H motherboard, i7 3770 CPU, Windows 7 64 bit Home/Win 8.1. SSD drive. Sonar X3c 64 bit Recordng Software.
Member of Nashville based R.O.P.E.