In a market full of cheap cables it is hard to tell real from fake. But a bad cable can damage both the port and the battery.
First rule: do not throw away the charger that came with the phone. If you buy a fast charger, check the wattage your phone supports.
If a cable gets hot or the charge keeps cutting out, replace it.



