The Bible teaches that God is slow to get angry and full of compassion. See Psalm 103:8 What a wonderful thing this is. Many times we start things off outside of the way God intended and we want to know how to get back on the right path . . . that straight and narrow path. Maybe you are shacking up, maybe you have a child or children outside of the marriage covenant . . . maybe you are homosexual or caught up in fornication. No matter what your circumstance, God loves you, He forgives you and He is waiting to restore you so that you can walk out the purpose that He has for your life. If you are not saved, you need to ask Jesus to be Lord of your life. If you are saved you need to go to 1st John 1:9 which teaches that if we confess our sins, God is faithful and just to cleanse us of our sins and all unrighteousness. In other words God will clean you up . . . forgive you and forget that you ever did what you did, because now He sees you through the blood of Jesus. Jesus took on your sin so that you might be made the righteousness of God. See 2 Corinthians 5:21 here.
Let me make something plain here. Getting cleansed from the sin of your past doesn’t mean that you won’t have to walk out that circumstance that you were lured into by the enemy. Moses is a great example of this. He was a great man of God, but he was disobedient and because of his disobedience he did not get to go over into the promised land. Your fornication can lead to sexually transmitted diseases, babies born outside of the wedding covenant, hurt feelings and damaged emotions. If you have yielded to the flesh and gone down this road ask God to cleanse you and to help you live a pure lifestyle before Him. He can calm those sexual urges. Go deeper in His word and allow the relationships that He designed for you to become manifest in your life. Don’t beat yourself up about your past. Repent and move on. God has a future too bright for you to miss it and remember in Christ all things are made new. Repent, receive Jesus and then meditate on 2 Corinthians 5:17 which teaches about your newness and then lay hold of the purpose that God has for you.