Include nutritious food in your diet. Avoid alcohol. Take your last meal at least 3 hours before bedtime.
When you lose your temper, your jawline stiffens, muscles tighten and maybe you grit your enamels as well. Exercising facilitates in shifting your attention to the physical aspect thus burning off all the surplus energy levels.