Default usb port on charger

My USB port on the charger does not seem to work correctly it will not charge my phone but if I keep plugging it in and unplugging it occasionally it will start charging the charger charges the surface fine really annoying now I am unable to charge my phone whilst away.