Marriage problems

I wonder if you can go pass kind of cheating when you catch your man messaging and other woman is there anyway to forgive and move on