One should firmly oppose and condemn it. Such a story promotes immoral behavior. You could tell the person that cheating is wrong and that they should respect the institution of marriage.
Cheating on your husband is never okay. Marriage is based on trust, and when you cheat, you break that trust. It can cause a great deal of pain and damage to your relationship, not to mention the ethical and moral implications. So, no, it's not okay to share such a story as if it were a positive thing.
One should not participate in spreading it. If possible, encourage those who are spreading it to stop as it is an invasion of privacy.
If you hear someone say this, you should firmly correct them. No one should tolerate such disrespect towards a partner. You could say something like 'That's a very unkind and inappropriate thing to say about your wife.'
The husband should first try to stay calm. Reacting impulsively with anger or aggression won't help. He could listen attentively to his wife's story, understand her reasons (although cheating is wrong, there might be underlying issues in the relationship). Then, he needs to communicate his feelings honestly, like if he feels betrayed, hurt or confused. It's a very difficult situation, but communication is key to deciding what to do next, whether it's trying to work through it in therapy or making the tough decision to end the relationship.
Most people feel guilty. For example, a student who cheats on a test for the first time might feel really bad about it later, knowing that they didn't earn their grade fairly.
If you hear such a story, the best reaction is to firmly and politely stop the conversation. It's not something that should be discussed. You can say something like 'This is a very private matter and we shouldn't be talking about it.'
If you suspect your girlfriend is cheating for the first time, the first thing is to stay calm. Don't jump to conclusions right away. Try to have an open and honest conversation with her. For example, you can say something like 'I've noticed some things lately that are making me a bit worried, can we talk about it?' Maybe there are misunderstandings that can be cleared up through communication.
Politely distance oneself from the situation and the person sharing it. Maybe change the topic if possible. There's no need to engage further as it's an inappropriate topic.
He should first stay calm. Reacting impulsively might make the situation worse. He could then ask for details like why it happened and if there are still feelings involved with the other person. After that, he needs to think about whether he can forgive her and if their relationship can be rebuilt.
If you notice these symptoms, see a doctor right away for proper diagnosis.