Can't get into Apple ID
Can't get in to my apple ID
iPhone XR
Can't get in to my apple ID
iPhone XR
You will NEED to login with the credentials of the AppleID of the owner who setup the phone.
If that wasn’t you, you need to contact who DID own it then.
Otherwise, the phone will remain as it is now; a paperweight.
More details are available here:
https://support.apple.com/en-us/HT201365
If you were the owner, but have also misplaced the credentials to your AppleID, start here:
Can't get into Apple ID