If the previous owner is not present
Contact them and ask them to follow these steps to remove the device from their account:
- Sign in to their iCloud account at www.icloud.com/find.
- Choose the device from their Find My iPhone device list by clicking All Devices and selecting the correct device.
- Click "Remove from Account" to remove the device from the account.
After the device has been removed from the previous owner’s account, turn it off by pressing and holding the Sleep/Wake button located on the top right side of the device. Then restart your device and proceed with device setup as you would normally.