1.) Verified the headphone jack works?
2.) Verified the headphones work?
3.) Downloaded/installed the latest audio drivers for your laptop?
You provided few details, but that is a starting point.
Plugged in headphones to laptop and sound played out of speakers not headphones. When in the volume control options muted speakers then no sound played. When looking at the green bar only should up in the speakers not headphones.