IPhone stuck on Apple logo ran out of charge. Doesn't want to charge?

Please Help

With so little information provided, my only guess is that your iPhone's battery is old and won't hold a charge anymore.

An independent cellphone repair shop should be able to replace the battery for a nominal fee.

They could also advise you if there's something else causing the error. They have diagnostic tools and certain procedures to analyze handsets, however they need physical access to your device, something that no one here on the Internet has.