Cracked iPhone 4 screen won't work?

So i dropped my iphone 4 (not 4s. It's pretty old. Maybe 5 years?) a few hours ago at youth group. I tried turning it on and it lit up so i was relieved. Then I was looking at the crack. It's cracked really bad on the top left corner and goes down to the middle of the screen. After looking at it, i tried to text my mom and tell her what happened. The screen lit up and i tried sliding it to do my pass code, and it wouldn't do anything. I kept trying to slide it over, open the camera, or those little settings tabs on the top and bottom. Nothing would work. After trying for a little the screen would move, and eventually got to the keypad with a lot of struggling. I can't type my pass code in. The numbers won't work. And i went to go try and backup all my stuff, but it won't back it up because i need to type my pass code in. What do i do?!

Added (1). I also tried to turn it off, but i can't slide to power off. So i held the home button and the click on the top and it shut off. (i did this 3 times) i tried sliding and it wouldn't work. I also tried charging it, taking the case off, everything

You need to get the screen replaced. About 50$

Buy a new iphone 4 screen online, or go to an iphone repair shop. Replace the screen, and it will be as good as new.

Link
(AT&T/GSM)http://www.cellphoneshop.net/iphe4screen.html

(Verizon/sprint)http://phonepartsusa.com/verizonsprint-iphone-4-lcd-digitizer-touch-screen-assembly-black-oem001088?language=en¤cy=USD