Before repairing your phone, you need to back up your iOS device, remove the iOS device from your Apple ID device list, remove the SIM card from your iOS device or iPadOS device if you have one, and keep it in a safe place.