Use the Right Cable and Charger
The first thing you need to consider is the charger and cable to charge your iPhone.
If you’re using a third-party charger or cable, make sure they are capable of charging your iPhone without any long-term issues. Unfortunately, modern iPhones don’t come with a charging brick anymore, so you’ll have to buy one yourself.
A good way to get started is to make sure that the chargers you search for are part of Apple’s MFi program. MFi, or Made For iPhone, is a certification that Apple gives third-party manufacturers in order for customers to know these products are safe to use on iPhone.
Of course, that doesn’t mean that any charger that’s not MFi certified is automatically useless. You just have to be careful with what you choose. There are many ways to find the right charger for your iPhone, so make sure the charger you choose has the right wattage and safety specifications.