If you have setup an external speaker program, like SoundFlower, then that might be the problem. To fix this, go to System Preferences > Sound> and then select Internal Speaker.
open