This question already has an answer here:
I was in a very bad place and when I was 20 i decided to not fully do what the quran wants me to anymore. I married out of love a man who is not a muslim. Now we have been married for 2 years and i am getting back in touch with allah but can he forgive me for marrying that man?? What do i do now?