Salvation is a free gift from God. He sent his son Jesus, to die on the cross, a cruel death, so that we could have the free gift of eternal life. Why do humans not understand this? We try to make it difficult, when God makes it simple. We always seem to think there is a catch when someone says something is free. But salvation is really free, and it is a gift, from God.
To accept this gift we must ask God to forgive our sins and believe that Jesus is his only son. John 3:16 For God so loved the world, that He gave His only begotten son. That whosoever believes in him shall not perish, but have everlasting life.