If your iOS device has become unresponsive for any reason, you can try rebooting it.
1) Hold the Sleep/Power button and the Home button at the same time.
2) After around 10 seconds you should see the Apple logo.
3) Release the Sleep/Power button and the Home button.