If your iPad touchscreen isn't working, the solution might be simple. Try restarting the iPad or cleaning and drying its ...
If your iPhone's touchscreen is not working, try to force-restart the phone. After rebooting it, the screen is likely to work again.