That could be a bad charger, a bad cable, a bad microUSB connector in the phone or a bad charger (circuitry in the phone - the thing you plug into the wall is actually just a power supply). If you don't have a spare charger, a spare cable, can't diagnose the phone, you'll have to bring it into a shop to diagnose it.