Generally, iPhone and iPads are pretty reliable devices, but everything fails from time to time. If you find yourself stuck with an unresponsive “frozen” screen, or an app that just won’t quit, you can force a hard reset. It’s easy to do and will fix most problems, but due to the design changes over the years the process is a little different depending on which model you’re using.

Here’s our complete guide to hard resetting, no matter which device you’re using. Note that no matter which device you’re on, the end result is a device rebooting to the lock screen. It may take a minute or two to restart so be patient, and don’t worry – hard resetting won’t compromise any of your data. It’s just like turning it off and on again.

iPhone X / iPhone 8

For those rocking the very latest Apple devices, your reward is a slightly more complicated reset process.

Quickly press the Volume Up and Volume Down buttons in succession. Then, press and hold the Side button (formerly known as the Power button) for several seconds until the Apple logo appears on a black background.

iPhone 7

2016’s iPhone 7 and 7 Plus introduced a non-mechanical Home button, but didn’t get rid of it completely like the iPhone X. Thus, they have their own distinct resetting technique.

Hold the Volume Down and Power buttons together for around ten seconds, ignoring the “slide to power off” message that appears. The screen then goes black and the Apple logo appears.

iPhone 6s / iPhone 6

These models (and their Plus-sized equivalents) moved the Power button to the side of the device.

Hold the Home and Power buttons at the same time until the Apple logo appears. Pressing these buttons too quickly will simply take a screenshot, so make sure you hold it down for long enough!

iPhone 5s / iPhone SE

The smaller iPhones, including these two and all that came before, had the Power button on the top edge of the device. Aside from that, the technique is identical to the iPhones 6 and 6s.

Simply hold the Home and Power buttons at the same time until the Apple logo appears.

iPad (all versions)

Though the design and button placement has changed a little throughout the various iPad versions, the technique here is the same regardless of whether you’re using a Pro, Air, mini, or standard iPad.

Locate the Power button on the edge of the device and hold it down at the same time as the Home button on the front. Keep these two buttons held for up to ten seconds, ignoring the “slide to power off” message that appears. The screen then goes black and the Apple logo appears.