Lalochezia is an emotional relief obtained by spewing vulgar language, and science suggests that swearing regularly could be good for your overall health and function.
If you happen to stub your toe, letting it all out by swearing increases your heart rate and reduces the pain felt overall. Similar effects were observed in ice water tests, in which people who used swear words held their hands in ice water longer than those who used neutral words.
In addition to helping us cope with pain, swearing has been found to reduce stress and anxiety, such as when driving and dealing with others who inconvenience the flow of traffic.
Science indicates that humans have evolved to use swearing to cope with everyday frustrations without physically throwing punches or acting out. That said, it should be considered a legitimate means of dealing with your issues.