Everyone can find themselves getting frustrated, tilted, and slowly getting worse at the game because of it. This being said, what do you tend to do when you realize you're getting tilted and it's affecting both you and your gameplay?
Stop the game, take a break, and go down something else. Either moving over to another, more relaxing game or just doing something completely different will always help.