If the previous owner is not present
Contact the previous owner and ask them to follow these steps to remove the device from their account:
Sign in to their iCloud account atwww.icloud.com/findClick All Devices to open a list of devices linked to their account, then select the device to be removed. It should show a gray dot or the word “Offline” next to the device name.Click "Remove from Account" to remove the device from their account.