The situation you describe often happens if there are apps (or media purchases) on the device that were installed (or downloaded) under a different Apple ID/account, and they need updating or redownloading. This can sometimes happen if a device was not properly reset by a previous owner, or if you incorrectly "change" your ID by creating a brand new Apple account instead of as in: Change your Apple Account primary email address - Apple Support
The best way to resolve this is to delete the item(s) requesting the update, and then download it again using the Apple ID that is signed in with the device. If you do not know which apps these are, change to manually updating apps on your device (see How to manually update apps from the App Store - Apple Support ). Go through your app list and update them one by one. The problems apps will prompt for a different account.
You may end up losing some data if the data are associated with a particular Apple Account.
These steps from "Delete apps on your iPhone, iPad, and iPod touch" [at: Delete apps on your iPhone or iPad - Apple Support ] will help you remove the app:
How to delete an app
1. Touch and hold the app.
2. Tap Remove App [the "-" icon]. Remove App is the third option in the menu.
3. Tap Delete App, then tap Delete to confirm.
Keep in mind that some built-in Apple apps can't be deleted from your device, so you might not see the option to delete an app. Here’s a list of built-in Apple apps you can delete from your device [at: Delete built-in Apple apps from your iPhone, iPad, or Apple Watch - Apple Support ]. If you can't delete an app that's not made by Apple, disable parental controls [see: Use parental controls on your child's iPhone or iPad - Apple Support ], then try deleting the app again.
If you touch and hold an app from the Home Screen and the apps start to jiggle:
1. Tap the Remove icon in the upper-left corner of the app. (There's also an Add button in the top left corner of the screen and a Done button in the top right corner of the screen.)
2. Tap Delete App, then tap Delete to confirm.
3. Tap Done.
Once deleted, adding the app using the correct Apple ID should resolve the issue. See the article: Download apps and games on your iPhone or iPad [ Download apps and games on your iPhone or iPad - Apple Support ]