Some chargers are of very poor quality… Others are downright incompatible with your device. In this case, your battery can be damaged more quickly and see its lifespan decrease. In the worst case, the device may even catch fire.
How to avoid this error?
It is therefore best to use a charger of the same brand as your smartphone. We are thus almost sure that the two are compatible. And this allows efficient and fast charging. If you want to take a charger from another brand, no problem. But you just have to make sure that it is of good quality and compatible, by consulting the technical sheets and opinions for example. You can also inquire with smartphone vendors.