Use Face ID or Touch ID if it is already set up
Use the correct passcode if you remember it
Erase the iPad with Apple ID and password using Find My
Put the iPad into Recovery Mode and restore it with a computer
Use iTunes on a trusted computer to restore the iPad
Use Finder on a Mac to restore the iPad
Contact Apple Support if you cannot access the Apple ID or recovery options
