Turning off all notifications is a bit painful in iOS 7, Apple's most current operating system, which the iPhone 5 uses. Open the Settings app, and select Notification Center. Scroll down, and you'll see a list of apps. Select each individual app, and select Alert Style None, slide to disable Show in Notification Center, and slide to disable Show on Lock Screen. You'll need to repeat this for each app.