My iphone 5 charger dosent charge what should i do?

I had a charger that came with the phone and i stopped working so i got a new one it worked for a lil while then it stopped what should i do

Buy a new one

The only thing you can do is buy a new one

Was the charger from apple if not you might want to get an official apple one. You could try getting a replacement or refund.

I had the same problem it was because i didn't buy it from an apple company i bought a knock off one it only charges when phone is not completely dead or at 5% so you either buy an apple charger or borrow one and make sure it never reaches 5% for example charge it when ever it reaches half way full

Get a new one from ebay, don't cost a lot.