I agree with what has been said already but would like to offer you some reassurance. My friend ended up pregnant before marriage not once but twice, the first time before I knew her and the second time a few years later. After speaking to the bishop and going before the disciplinary committee and was disfellowed shipped for a year. After that year, during which time she continued to attend church. And now 10yrs later she has been through the temple and is happily married with 2 . more children.