Hi
Return to place of purchase for exchange.
Go to iCloud make sure iCloud back up is on Then backup now over your wifi.
When you get your replacement iPhone set up over your wifi when it asks if you want to use iCloud backup Say yes to get your apps and data back on new iPhone.
Cheers
Brian 🇬-1F1E7;