If you forgot your iPad password, you’ll need to erase the device to remove the passcode, as Apple doesn’t allow bypassing it. You can do this using iTunes/Finder on a computer, iCloud’s Find My iPad, or Recovery Mode. After erasing, you can restore from a backup or set it up as new. Be sure to know your Apple ID and password to reactivate it.