You need to repent of your sins and believe that Jesus Christ is Lord and your only Savior from the coming judgment through His perfect work on the cross.
But as others pointed out, reciting a mere statement or a creed won't save anybody. Head knowledge about Jesus Christ doesn't save you either, but intensifies your judgment unless you repent of your sins.
Salvation is far from theoretical head knowledge, it is blessed personal knowledge of the Lord and Savior. There is a huge difference between knowing God personally and knowing about God as theology (mere religion).
Either Christ or Religion
Religion is men's crafted wayS to heaven and they will never make it, but Jesus Christ is the only Way.
Jesus saith unto him, I Am the way, the truth, and the life: no man
cometh unto the Father, but by Me. (John 14:6)
But this requires FAITH which is given by God, you cannot simply generate faith by yourself from within yourself, it is God's gift.
For by grace are ye saved through faith; and that not of
yourselves: [it is] the gift of God: Not of works, lest any man
should boast. (Eph 2:8,9)
Then you may ask, why cannot I give myself this faith to save myself? The answer is that salvation is God's work 100%, there is zero contribution from a sinful, spiritually dead human being. Jesus Christ did the salvation work perfectly and completely.
Salvation [is] of the LORD. (Jonah 2:9b)
Jesus Christ on the cross in the center and the two thieves, one on the right and one on the left is happened to be not only depicting what HISTORICALLY happened but also metaphorically the whole world:
Jesus Christ is and has always been and will ever be the center of everything and there are only two groups of people though both of them are thieves yet; one who repent and one who don't repent of their sins (theft of God's glory) but continue to mock Jesus Christ.
Now, here is the challenge: if you say you believe in Jesus Christ and you are saved by His blood it is as good as nothing unless you prove this by test. This test is the way you live your life for Christ.
I will support the above with Biblical verses:
Jesus answered and said unto him, If a man love Me, he will keep My
words: and My Father will love him, and We will come unto him, and
make Our abode with him. (John 14:23)
This means not only talking the talk but walking the walk also (walking with God as Jesus Christ did is the test, was He baptized? How about you?).
Wherefore by their fruits ye shall know them.
Not every one that saith unto Me, Lord, Lord, shall enter into the
kingdom of heaven; but he that doeth the will of My Father which is in
heaven. (Matt 7:20,21) I advise you to read the whole chapter.
But many get stumbled by the works here, and say works then important to obtain the salvation, the answer is definitely NO. Sinful humans cannot present good works to God unless they are saved and obtain forgiveness of their sins by the precious blood of Jesus Christ.
And almost all things are by the law purged with blood; and without
shedding of blood is no remission. (Heb 9:22)
See how God sees the deeds of sinful humans, filthy as they are:
But we are all as an unclean [thing], and all our righteousnesses
[are] as filthy rags; and we all do fade as a leaf; and our
iniquities, like the wind, have taken us away. (Isa 64:6)
Yes, works after salvation are fruits, not roots of salvation.
You prove the test positive of salvation by good works after salvation but these works cannot be the cause of salvation or forgiveness. Think of someone dead, can the dead do anything?
Not by works of righteousness which we have done, but according to His
mercy he saved us, by the washing of regeneration, and renewing of the
Holy Ghost; (Titus 3:5)
With all this in mind, it forms the basis to understand this verse which has presented some difficulty in understanding:
What [doth it] profit, my brethren, though a man say he hath faith,
and have not works? can faith save him? (Jas 2:14)
Here the kind of works meant are the ones after salvation as a proof of the saving faith. There is a huge difference between someone who makes "good" deeds in order to obtain salvation and someone who makes them as a thankful reply to a great yet freely given grace.
According to the Bible, there are only two groups of people with regard to salvation (remember the two thieves), one group are really saved by the blood of Jesus Christ and repented (or will) because God's work is perfect, it is a blasphemy to think otherwise, all whom He shed His blood for, had (or will) come to repentance and to know Him personally as the only Savior. They live by faith after salvation and they conform to the image of Jesus Christ and will be with Him for eternity. Conforming to the image of Christ is sanctification by the Holy Spirit and through his Word (Holy Scriptures wondrously preserved and delivered to us unto salvation and sanctification), this can be different from one saint to another. Salvation is God's work and is independent of man, but sanctification is man's responsibility.
The second group had (or will) not repent and they continue to conform to everything except Jesus Christ, they continue to mock Him Who is God blessed forever, these belong to the Antichrist's spirit and body and will receive eternal damnation.
The tests mentioned above prove which group you belong to. I wish you the first one of course.
Update: A poem from a saint of the old who was saved could help to back up all of the above:
This poem "God Who is Rich in Mercy" appeared once in the magazine “Thoughts from The Word of God” in 1912, page 49.
Meet the author of this old poem Percy H. Heward and his treasure of writings here.