It would depend on how you are trying to update the device. See this support document for assistance. Update your iPhone, iPad, or iPod touch - Apple Support
If attempting to update OTA, then see this. Get help with over-the-air iOS updates - Apple Support
And if you cannot update at all, see this. If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support