2nd Nephi31:15-21
And I heard a voice from the Father, saying: Yea, the words of my Beloved are true and faithful. He that endureth to the end, the same shall be saved. And now, my beloved brethren, I know by this that unless a man shall endure to the end, in following the example of the Son of the living God, he cannot be saved. Wherefore, do the things which I have told you that I have seen that your Lord and your Redeemer should do; for, for this cause have they been shown unto me, that ye might know the gate by which ye should enter. For the gate by which ye should enter is repentance and baptism by water; and then cometh a remission of your sins by fire and by the Holy Ghost. And then are ye in this strait and narrow path which leads to eternal life; yea, ye have entered in by the gate; ye have done according to the commandments of the Father and the Son; and ye have received the Holy Ghost, which witness of the Father and the Son, unto the fulfilling of the promise which he hath made, that if ye entered in by the way ye should receive. And now, my beloved brethren, after that ye have got into this strait and narrow path, I would ask if all is done? Behold, I say unto you, Nay; for ye have not come thus far save it were by the word of Christ with unshaken faith in him, relying wholly upon the merits of Him who is mighty to save. Wherefore, ye must press forward with a steadfastness in Christ, having a perfect brightness of hope, and a love of God and of all men. Wherefore, if ye shall press forward, feasting upon the word of Christ, and endure to the end, behold, thus saith the Father: Ye shall have eternal life. And now, behold, my beloved brethren, this is the way; and there is none other way nor name given under heaven whereby man can be saved in the Kingdom of God. And now, behold, this is the doctrine of Christ, and the only and true doctrine of the Father, and of the Son, and of the Holy Ghost, which is one God, without end. Amen.
There is only one way to spending eternal life with Christ in heaven. It is real simple: Faith, Repentance, and Baptism. After you complete those steps you just simply continue on your journey that you started with them. You must keep following the straight and narrow path until the end, yours or the earth’s. This is the only way.