Alma 9:27-28

And behold, he cometh to redeem those who will be baptized unto repentance, through faith on his name. Therefore, prepare ye the way of the Lord, for the time is at hand that every man shall reap a reward of their works, according to that which they have been—if they have been righteous they shall reap the salvation of their souls, according to the power and deliverance of Jesus Christ; and if they have been evil they shall.

On judgment day we will get what we deserve. God is a fair and impartial. If we have been righteous we will receive the salvation. If we have been evil, we will receive pain. Let us repent of our sins, be baptized and live righteously in the eyes of the lord.