How to prevent free-will unfaithfulness?

Hi, I don't want to turn off free will but my Sim's husband randomly flirts with other Sims and even accepted a kiss from another Sim. Their baby witnessed the betrayal!! This is destroying my headcannon. He's not a flirty Sim, but has the irresistible trait. How do I prevent free-will unfaithful actions?