Back to the factory for repair, first erase the iPhone, then sign the agreement, and finally Apple will provide a backup machine.
Used during maintenance. If the agreement is signed, it can't be damaged, otherwise it will be compensated. After the maintenance is completed, take back the original machine with the standby equipment agreement and ID card. Download Apple Support and make an appointment for Apple's maintenance service after a problem occurs.