(WUSA9)-- Over the weekend, New York City mayoral candidate Anthony Weiner's campaign manager called it quits, after more revelations that Weiner's lewd online behavior andsexually explicit text messagescontinued after his resignation from Congress in 2011.

But Weiner's wife Huma Abedin has publicly stood by him, even after acknowledging the pain her husband's actions caused her.

In a recent press conference Abedin said,"Anthony has made some horrible mistakes both before he resigned from Congress and after. But I do very strongly believe its between us and our marriage... It took a whole lot of therapy to get to a place where I could forgive Anthony."

PsychiatristDr. Scott Haltzman, MD says Abedin's ability to forgive should not be viewed with skepticism or disbelief; he says both inappropriate online behavior and outright sexual infidelityis "treatable," and trust can be rebuilt.

"More people end up surviving infidelity than you think, and affairs happen more often than you think," says Dr. Haltzman, author of "The Secrets of Surviving Infidelity".

Haltzmansays in researching this book, he came across some startling statistics in regards to cheating: some 40% of marriages are rocked by infidelity every year, and both texting and social media have made it far easier to engage in behavior that can lead to a sexual affair.

"Whereastwelve years ago, about 6% of people were involved in electronic infidelity or text messaging, that has gone up to 60% of people whose relationship infidelity was precipitated by the use of electronic communication," says Haltzman.

Dr. Haltzman says marriages can actually become stronger after being tested infidelity, but not without significant effort, starting with the person who had the affair or engaged in inappropriate extramarital behavior.

"Now, I don't recommend people go off and have affairs to strengthen their marriage; that's ridiculous. But what I do say to folks is the issue moving forward is to re-establish trust," says Haltzman.

To do that, Haltzman recommends taking three, concrete steps:

"Step One is, get rid of the person you are having an affair with. Don't just put them on the back burner or transition into a friendship, you have to cut off all communication."

Step Two: What Haltzmandescribes as a'see-through' marriage. "You have transparent in your interaction and your connection with your spouse. From here on out, there are no hidden passwords, no secret Facebook accounts," he says.

AndStep Threeto surviving infidelity may be the hardest of all.Haltzman advises, "... full discussion of what happened during the affair. It is a do-ask, do tell policy. If the partner who was cheated on has a question, the other partner has got to take the responsibility and answer it. Only when you stop hiding, can trust be rebuilt."

Read or Share this story: http://on.wusa9.com/1lzDFEd