Download the latest version of iTunes (if your computer is a PC or just start up iTunes if it is a Mac)
If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple SupportHow to put your iPhone or iPad into recovery mode[*]Turn Off
your iPhone, iPod touch, or iPad if it isn't off already.Press and hold down the On/Off
button on the right side (iPhone 6 or later) or top (all other iPhones, iPods, and iPads) for 3 seconds
.[*]Swipe the slide to power off
confirmation slider to the right.
[*]Press and hold down the Home
button on your iPhone, iPod touch, or iPhone.[*]Plug your iPhone, iPod touch, or iPad into your Mac or Windows PC
and make sure iTunes is running.[*]Release
the Home button when you see the Connect to iTunes screen.
At this point iTunes should display an alert saying it's detected an iPhone, iPod touch, or iPad in
mode, and will let you restore your device.