My Iphone 5 charger broke, is there any way to fix it?

My IPhone 5 will not charge and I think it is because of the USB chord connecting to the charger. Is there any possible way to fix it? It's under 5% battery and I'd like to keep it.

Bring it to Apple. If you didn't break it yourself and the phones under warranty they should replace it for you.