Allah [swt] accepts only the repentance of those who do evil in ignorance and foolishness and repent soon afterwards; it is they whom Allah [swt] will forgive and Allah [swt] is Ever All-Knower, All-Wise.
Also [forbidden are] women already married except those [slaves] whom your right hands possess. Thus has Allah [swt] ordained for you. All others are lawful, provided you seek [them in marriage] with bridal money from your property desiring chastity not committing illegal sexual intercourse, so with those of whom you have enjoyed sexual relations give them their bridal money as prescribed; but if after bridal money is prescribed you agree mutually [to give more] there is no sin on you. Surely, Allah [swt] is Ever All-Knowing, All-Wise.
Allah [swt] wishes to make clear [what is lawful and what is unlawful] to you and to show you the ways of those before you and accept your repentance and Allah [swt] is All-Knower, All-Wise.