Plug into iTunes and 'Restore'. Before doing so you'd probably want to try a Hard Reset by holding down both the Power and Home button until the phone shuts off.
May I ask if you are new to the iPhone? I'm asking because I once sold a phone on Craig's and the buyer was confused about the Silent switch. Make sure you switch it to where you can see the red slider.