How to Wiped iPads with an IOS of 12.5.7 or lower
Open iTunes on the computer. You may need to first install iTunes if your computer does not already have the software.
Connect the iPad to the computer.
Hold down the Power and Home button until you see the iTunes logo.
Click on Restore.
Click on Restore and Update.
Let it run through the process, click through the setup steps, and then the iPad is ready to use.