I caught my wife sexting with a friend of ours. I have had some suspicions that something was happening for about 2 months now. On Saturday I checked my wife's phone and found sexually explicit texts between her and a friend of ours. I confronted her about it and she did not deny it.

She says that she has not been happy with our relationship for a while now. She has said that it has not gotten physical, just exchanging of texts and pics. (She has never sent me nude pics)

I lost my job last year, and that forced me to evaluate my life. I recognized that my marriage needed some attention. I was able to get a job in September. We have been together for 12 years and married for 9. We have 2 kids. She is a stay at home mom and a successful independent business owner.

In March, I finally started to make the efforts to work on our relationship after getting established in my job and able to provide for my family.

I am completely devastated by this and I want to fix our marriage and get past this, but I am not sure how to start.

What advice would you have for me?