It is sad. She obviously does

It is sad. She obviously does not feel good about herself, which led her to the affair in the first place - she got seduced by the attention. Now, how can she recover? What can you do now and what can she do?