My love language is touch (including sex), so in a rough patch, sex helps me feel safe and cared for so that I can open up and participate in fixing the problem.
If you are trying to work out problems, then good communication, rational thinking, and compromise are the keys to the issue.
NO name calling, NO changing what is said back upon the other person, NO getting mad and yelling or walking out.
At this point sex is just going to be physical and will do you no good other than physical gratification.
(married 24 years)