A switch on the side of iPhone makes it easy to turn the ringer on or off.
Flip the switch on the side of iPhone.

IMPORTANT: Clock alarms still sound even if you set the Ring/Silent switch to silent.
In Settings, choose Sounds. Separate controls let you set vibrate for both ring mode and silent mode.
For more information, see Settings.