It can be incredibly stressful to forget the passcode for your iPhone, but the good news is that there are ways to get back ...
Connect your iPhone to your computer with a USB cable. Open iTunes, Finder, or Apple Devices, depending on your computer.