How to reset my iPhone 5s?

It was one of my old iPhones that broke a while back. It wouldn't turn on and has some battery problems. I forgot the password. The cord barely works for it but it's also the only one that charges it. It wouldn't work on the computer so i couldn't reset it

Go look at the tutorial on YOUTUBE. It's very easy to look on how to do it there.