windows 7 headphones not working

I have an HP laptop with two headphone jacks. But I found in windows 7 headphones not working.

How to fix Headphones don't work in Windows 7

For Realtek HD integrated sound:
* Go to the sound manager --> disable your front panel detction.
* Also Upgrade to the last sound drivers.