Hi there! My name is*****'m a certified computer professional with 15 years of experience. I'd be happy to help you with this.
It sounds as though you need to purchase a new charging cord. It is likely that the charging block itself is okbut the cord that connects the phone to the charger definitely needs to be replaced if you are having to hold it in place to get it to work. Over tiem, they can become crimped or kinked internally and stop working. If there is not an apple store near you, You can get a third party cable that will work at any Target, or Walmart, or best buy. These days even local service stations have these cords available. Once you have a new cord, I recommend that you allow it to charge for quite some time before you try to use the phone (at least 30 minutes to an hour) as the battery was completely discharged.
I am confident that this will solve your problem. If so, please kindly take a moment to rate my service. You can provide a rating by clicking on the stars and then clicking on submit. Please remember, don't rate until you are satisfied. If you need more help, please allow me to continue to work with you or allow me to "opt-out" so that other experts can assist you. Your complete satisfaction is my goal! Thank you!