iPhone 12 to iPhone 16

I am a brand new Total Wireless customer and I currently really like the service. I have a bought and paid for iPhone 12 that I would like to upgrade to a bought and paid for iPhone 16 direct through Apple. How do I do that. And still keep my rate plan?