If iPhone is disabled because you forgot your passcode or entered an incorrect passcode too many times, you can restore iPhone from an iTunes or iCloud backup and reset the passcode. For more information, see Restore iPhone.
If you get a message in iTunes that your iPhone is locked and you must enter a passcode, see support.apple.com/kb/HT1212.