Short answer - a lot of commitment and hard work by both partners ... and faith that the infidelity has stopped.
As important is the hurt and disappointment you feel. Keep coming back, take care of yourself, and find a good support system. You'll need it to get through this.