Check the silent/vibrate switch on the left top of your corner. When you see the orange strip it is on vibrate only. When you push up the sound turns on again
Try a reset of your phone by holding down the power button and then the home button at the same time. When the apple logo appears, release both. Ignore the "power off" slider...wait for the apple logo