Asking God to forgive your sins is an important process. It is important that you admit what you did wrong and truly feel sorry that you did it. You must come to God, pray using scripture, and ask him to forgive you. Then you must believe that he has.
All sins shall be forgiven except the sin against the Holy Ghost; for Jesus will save all except the sons of perdition. What must a man do to commit the unpardonable sin?He must receive the Holy Ghost, have the heavens opened unto him, and know God and then sin against him.