Hi and Welcome. My Name is ***** ***** I look forward to assisting you today with your question.
What is the model and make of your phone ?
Is this is an Apple iPhone or any other brand phone ?
If this is an Apple iPhone, then you can reset it and that will reboot the system and let it charge.
Press and hold down the Power button and Home button at the same time until it shows the Apple logo. When you see the Apple logo, release the buttons and let it boot. Then charge it.
If this is some other model, then let me know.
Please let me know if that didn't work, so we can continue troubleshooting.