Connect your iPad to your computer using a USB cable and start iTunes; go to summary and select Restore, which will reset to factory settings.