Separation

so I’ve been with my wife for 13yrs and married for 3 of those years and we have 2 boys 8 and 2 but we are now separated and I don’t know wat to make of it I was in a federal prison serving a 9 month sentence and things seemd ok for being there and 3 months till my release she just decided she couldn’t do our marriage anymore she originally said it’s cuz of another man and this religion called Santeria even said she spiritually married him but 3 weeks till my release she said it wasn’t true and said she couldn’t deal with my attitude and wanted to see my change first then she said it was all cuz of her addiction and was hearing voices and needed a year sober and to find her self I have been out for  3 months now so it has been 6 months things were lookin good I was seeing her everyday took her shopping nails massage the works got her a car and paid for her new apartment I’m in a halfway house now I got a job I’m sober I’m on my meds I’m doin good we went from her not wanting to see me to having sex once 3 weeks ago but then one argument and I’m put back at square one and I don’t know wat to do or how to process things I love my family and that’s all I want I’ve done everything I could but can’t do it all again so wat should I do now