37When the people heard this, they were cut to the heart and said to Peter and the other apostles, “Brothers, what shall we do?” 38Peter replied, “Repent and be baptized, every one of you, in the name of Jesus Christ for the forgiveness of your sins. And you will receive the gift of the Holy Spirit. 39The promise is for you and your children and for all who are far off—for all whom the Lord our God will call.” 40With many other words he warned them; and he pleaded with them, “Save yourselves from this corrupt generation.” 41Those who accepted his message were baptized, and about three thousand were added to their number that day. 42They devoted themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer. 43Everyone was filled with awe at the many wonders and signs performed by the apostles.