This is a common problem, often caused by either or both off of two factors.
Assuming:
a) the Headphones / Headset are working (test on another Laptop)
b) the internal speakers are working
i) the Jack Socket is a flimsy component to start with, and includes contacts to disconnect the internal...