Don’t go to bed on your anger.
I think this is a real simple thing to do. Although it might take some time in the evening or into the early morning hours, because you must discuss your issue or issues and make sure you both have made peace before you go to sleep.
Maybe if you make up quick enough you can have some make up sex?!?