Clean your iPhone

As we mentioned, if your iPhone is not responding properly, there’s a small chance that it’s a hardware problem. Your iPhone’s screen may not be responding because it’s either dirty or wet.
So to make sure it isn’t a hardware problem, be sure to clean your iPhone. First, remove any accessory, like a case or a charging cable. Also, turn off your iPhone, like we showed you before.
Then, use a slightly damp, lint-free cloth to wipe your iPhone. Avoid using water or cleaner directly on it, and avoid getting moisture in the opening.
After you’re done, give it a moment, turn it on again, and then see if that fixed the issue.