Use the official original charger to charge the phone. When the phone page shows that the charging is complete, the charger will automatically disconnect and will not continue to charge the battery. When the phone starts to run other programs after it is fully charged, the charger will automatically make up for this part of the lost power and will not use the battery to supply power, which ensures the safety of the battery to a certain extent.
It is recommended that you try not to use the phone while charging, as this will cause the phone to heat up.