You will need to erase the iPad as detailed in this article. This can only be done using a Mac/PC.
If this person also enabled Find My iPad, and activation lock, you will need to have them do the following steps.
What to do before you sell or give away your iPhone, iPad, or iPod touch - Apple Support
If they will not do that, you will need the original bill of sale to submit to Apple to remove the activation lock.