How do I restore my old iPad and set up as new?

How do I restore my old iPad and set up as new

My iPad keeps leaving the page I'm on and going back To the icon desktop. I was told to restore my iPad as new. How do I do this?
Re: How do I restore my old iPad and set up as new

There are several ways, but the easiest is probably this one: Go to Settings → General → Reset, and then select "Erase All Contents and Settings". When the process is complete, you will be met with the Welcome screen. Just follow the prompts to set up your device. Do not select the "restore from a backup" option when prompted. NOTE: BEFORE you follow these instruction, make a backup of your device, either via iTunes or iCloud. Offload any important pic, file, song, video, etc. because you will lose EVERYTHING on the device during the above procedure.

Original thread: https://forums.imore.com/threads/how-do-i-restore-my-old-ipad-and-set-up-as-new.365628/