One of the Bible's greatest truths is that God is always willing to forgive us, no matter how far we've wandered or how much we've rebelled against Him. All we need to do is sincerely repent of our sins and turn in faith to Christ for the forgiveness we need. The Bible says, "If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness" (1 John 1:9).
I often think of a story Jesus once told about a man and his two sons (usually called 'the parable of the prodigal son' -- you can find it in Luke 15:11-32). One son rebelled against his father and left home, ignoring everything he'd been taught and living instead a wild and immoral life. In time his money gave out, however, and so did his so-called friends. He was reduced to eating the same food the pigs were given.
Finally. he came to his senses and decided to return home. He knew his father might disown him, or at most would treat him as a slave. But instead his father welcomed him and forgave him and restored him as his son. He declared, "This son of mine was dead and is alive again; he was lost and is found" (Luke 15:24).
God loves you; He loves you far more than that father loved his son. Don't reject Him any longer, but by faith confess your sins and receive His forgiveness -- and begin a new life with Christ today.