right click the volume icon on your desktop > click Playback Devices > Click on Headphones or whatever audio device is detected, and set it as the default device.
if this doesn't work, are you certain you've installed the audio driver for your motherboard?