First you have to turn on your device.Secondly you have to go into settings.Then go to the part that says PasscodeAfterwards choose Change PasscodeFinally you can create a passcode for your iOS deviceThen try your new passcode