IPhone 5 only charging when plugged into computer USBs? How can I fix this?

Iphone 5 not charging with wall plug, iphone 5 only charges when plugged into a computer, how can I fix this? I believe it stopped working because I used a friend's unauthorized lightning cable with my wall adapter, thank you for all the help

That third party cable may be the reason it doesn't work. Or simply your wall outlet is not powerful enough to supply the power needed (unlikely). Is the wall outlet old?