If you do have your iPad or iPhone freeze, you can force the iPad to power down.How to do that:
Press and hold the Sleep/Wake(on the top the iPad) + Home for 10 seconds (for frozen iPad or iPhone)Warning:
Hard Reset on iPad or iPhone will lose all your unsaved work. Try to restart it first (press and hold down the sleep/wake, until a red slider appears. Slide your finger across the slider)Factory reset the Apple iPad or iPhone:
Go to Home screen, tap on Settings.
Go to General, tap on Reset.
You iPad or iPhone will restart automatically, back to Factory settings(Default Settings). This will leave the data (your files and programs) but reset the preferences. You can also "Erase All Content and Settings" by tap on this option.