How do Mormons get to heaven?
The Church of Jesus Christ of Latter-Day Saints is based on the teachings of Joseph Smith, who founded the religion in the early 1800's. Mormon beliefs are based on revelations he testified to receiving from God concerning the fact that all existing Christian denominations were in error. Smith taught that the LDS church was the true restoration of the New Testament church. This resulted in some similarities and differences between Mormon and Christian beliefs (click link to see a comparison chart).
How a person gets to heaven, and what heaven is like, is important to any religion that holds that belief, and Mormons are not different. The LDS church's teaching on salvation is related to their convictions about human nature and the person of God (i.e. "heavenly father"). They are interconnected and therefore must be understood together.
LDS beliefs about salvation
Because Mormons believe that originally people lived with God as spirits before being sent to this world, salvation in Mormonism means returning to God after this life. Mormons believe salvation is attained through a combination of faith in the Atonement of Christ and good works, with emphasis on the good works:
"If you are to return to live with God eternally, you must keep His commandments, accept Jesus Christ’s Atonement, and follow His example while you are on Earth." 
"We believe that through the Atonement of Christ, all mankind may be saved, by obedience to the laws and ordinances of the Gospel.... [the] ordinances of the Gospel are: first, Faith in the Lord Jesus Christ; second, Repentance; third, Baptism by immersion for the remission of sins; fourth, Laying on of hands for the gift of the Holy Ghost" 
To summarize these and other Mormon statements, salvation can be achieved by:
- believing in God and Jesus
- doing good (being kind, fair, loving, etc.)
- developing moral character
- repenting of sins and attaining forgiveness through the Atonement of Christ
- being baptized and participating in other Mormon ordinances
- spreading the Mormon faith 
Recommended for You
More on Mormonism
World Religions - Main pages
- "The eternal nature of God's children" at Mormon.org.
- 13 Articles of Faith.
- "The plan of salvation," "Your part in God's plan" and "Why am I here on Earth?"