Question: what to do when your iphone is disabled and you forgot your password?
Answer: If you can't remember your passcode, you'll need to erase your iPhone, which deletes your data and settings, including the passcode. If you've backed up your iPhone, you can restore your data and settings after restoring your iPhone.