This is similar to another incident that happened a long, long time ago.
God made a wonderful paradise and gave it to Adam and Eve. They could go anywhere, do anything, enjoy the whole creation - with a single exception. One tree - the tree of the knowledge of good and evil - was off limits.
just as you clicked on a button that said "Don't click here," Adam and Eve ate from the tree that was off limits. They stopped trusting God and so chose to disobey God's warning.
When Adam disobeyed God, he brought sin into the world. Sin brought many terrible consequences, but the most terrible was death. Sin brought physical and spiritual death into the world and would separate all people from God forever.
The penalty for sin is death.
But God loved us so much that He took on humanity, in the person of Jesus, and came to earth. He lived the way that we were supposed to live (completely trusting God). Then Jesus took upon Himself the punishment that we deserved. He rose from the dead three days later so that He might give life to all whom He pleases - and it pleases Jesus to give life to all who have faith in Him.
We must accept His gift of salvation, it cannot be earned. How do we accept this gift? When we put our faith in Jesus' death on the cross for our sins, confess that Jesus is our Lord (that we will yield our lives to His rule - that we will turn from our sinful lives) and believe in our hearts that God raised Jesus from the dead, then we have accepted this gift.
You can make that confession right now simply by confessing to God that you are a sinner and need His Salvation through Jesus Christ.... Turn from you known sins, and purpose in your heart to live for Jesus from this day forward.