It is never appropriate or legal to respond to infidelity with violence. While learning of a partner's infidelity can be a heartbreaking emotional experience, using physical force to deal with the situation is not only violent but can have serious legal repercussions for the offender.
When dealing with relationship problems, it is always more beneficial to communicate, get counseling, or get legal help. Using violence not only makes the issue worse, but it also has the potential to permanently hurt both parties. It is essential to approach such challenging circumstances with objectivity and to seek out professional, family, or friend support to help you get through the difficulties.
Since I have no authority to impose or suggest punitive actions, I am not in favor of punishment. Law enforcement should handle any criminal conduct, as legal institutions are designed to deal with such situations. Violence is usually frowned upon, and those who commit it risk legal repercussions, such as being arrested and prosecuted.
But rather than focusing on punishment, it's critical to address these circumstances with an eye toward personal development and resolution. When people find themselves in challenging situations, getting professional assistance, therapy, or counseling can help them get over the emotional difficulties and go forward with more positive decisions. Violence rarely solves issues; instead, it frequently makes them worse.