Of course, the option you choose, is completely up to you. If you are happy with your iPhone Xr, otherwise, getting its screen replaced may be the better option.
What I suggest, is that you make a Genius Bar appointment at your local Apple Store or Apple Authorized Service Provider. Have them take a look to see if there is any additional damage beyond just the screen, and depending on what they find, provide you with a repair estimate.
From that, you can decide if repairing it (if possible) or getting a new phone will work best for you. Note that a "broken" iPhone will not typically have any trade-in value, so you need to keep that in mind when ordering a new phone.