Here are some thing you can try...
1.) Get a mini, but powerful, hand fan and let it blow in the earphone/headphone port then plug your earphone/headphones back in.
2.) Try restarting your the headphone port. By right clicking the "My Computer" or "Computer" (Can be "This PC" or your <username> if you are using a Windows 8 computer.) and then click on "Manage" (You will have to be an Administrator). Then on the left, click on "Device Manager". Now after clicking on "Manage", go to the top where there is an Icon with a Monitor, with a Magnifying-Glass on it. Click on that. This will Refresh all ports. Don't worry this will not discount any devices in the ports!!
3.) Try to restart your computer.
4.) Try different earphones/headphones
5.) Driver/port can also be disabled
If you want any more help just asked! AND ALSO! Try to do some of the other suggestions first.
I hope I was really helpful!