If you have an iPhone 4s, there are a few things you can do to reset your passcode.
- Open the Settings app and scroll down to the Passcode section.
- Tap on the Reset button and enter your old passcode.
- The iPhone will reboot and ask you for your new passcode again. Enter it in as usual and the iPhone will reset your passcode.