How to fix an iPhone usb cable?

When I was charging my iPhone, with the usb cable, I saw it burn and my computer said that it didn't recognized my iPhone. The wires are showing because I kept on pulling on the cable to get it off my phone. What should I do? Should I just get a new one?

You can buy one from amazon!

Although you could use some tape?

Go on Amazon and type in what IPhone you have!

Best idea is to buy a new one. Go to a local store that sells Apple products or just buy a new cable online. My suggestion go buy one at a store so you could use it right away.

Why just don't buy cable online?
I will cost you only 2$ and you even have free delivery!
Check this:

Check this: