Pilot knew Jesus was an innocent man, but instead of standing up to the people and letting Jesus go he turned Jesus over to the crowd to let them do with him as they would. In the end (or should I say beginning), he was crucified on the cross to bear the sins of the world including yours and mine.
Don't think that Jesus could not have saved himself from this terrible death. In an instant, he could have called down a thousand angels to take him away. He chose to die for us and because of his death on the cross we can live with Him forever in Heaven.
Let us not forget that he did not stay dead. He arose on the third day and lives today in Heaven where one day we will be with Him. That is, for those who have asked Him to forgive their sins and to come into their hearts to live forever. And believe me, it will be one decision that you will not want to take back.
You can read about the crucifixion in Luke 23 KJV
If you have not ask Jesus to save you, remember...all have come short of the glory of God. Everyone is a sinner not just the murderers, drunks, the abusers, and so on. Everyone.
All you need to do is believe on the Lord Jesus Christ. Which means, if you truly believe he died for your sins and that he is the Son of God and ask Him to save you, He will.