Reload operating system/software. Forgotten Passcode!? By reloading your operating system, software faults causing a device to fail to boot properly will be fixed. You will lose all saved data including uer code, photos, contacts and app downloads etc. You may like to check if you have uploaded to cloud storage and if so you should be able to back up from this when you have your device back. Your device will need activating after, for which you may need log in details such as Apple ID or Google Account for android devices.