Acts 2:37-39 King James Version (KJV)
37 Now when they heard this, they were pricked in their heart, and said unto Peter and to the rest of the apostles, Men and brethren, what shall we do?
38 Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost.
39 For the promise is unto you, and to your children, and to all that are afar off, even as many as the Lord our God shall call.
Acts 2:37-39 Amplified Bible (AMP)
37 Now when they heard this, they were cut to the heart [with remorse and anxiety], and they said to Peter and the rest of the apostles, “Brothers, what are we to do?” 38 And Peter said to them, “Repent [change your old way of thinking, turn from your sinful ways, accept and follow Jesus as the Messiah] and be baptized, each of you, in the name of Jesus Christ because of the forgiveness of your sins; and you will receive the gift of the Holy Spirit. 39 For the promise [of the Holy Spirit] is for you and your children and for all who are far away [including the Gentiles], as many as the Lord our God calls to Himself.”