Hello talii97,
Thank you for using Apple Support Communities! It sounds like you're encountering an error when updating iOS on your iPhone XR. You're in the right place to find a resolution.
Check out the following support article, which provides some troubleshooting steps to try for this behavior:
If your iPhone, iPad or iPod touch won’t update - Apple Support
It also look like from your screenshot that the battery charge on your iPhone is low. From the resource provided above, "When you're updating over the air, keep your device connected to a power source." Try charging your battery to at least 50% or connecting the iPhone to a power source before updating again, and let us know if you still encounter the behavior after.
Cheers!