Being aware of it is the first step. It’s the same rush you get from cursing when in pain, or punching a pillow/wall when you’re upset. The flood of anger, especially righteous anger, can be it’s own reinforcement. Stop giving yourself that stimulation. You’ll feel agitated and restless, but you need to break the habit. Substitute a different habit. Check out cute animal videos from The Dodo, or enjoy some Primitive Technology, or watch some Veg Village recipe videos.
At around 13, with no experience outside knowing how to ride a bike, attempted a 6 foot BMX bike jump, the kind with a near-verticle lip. After two bailed attempts, I committed to MORE SPEED on the third try. I went straight up, couldn’t position the bike forward, and fell directly backward onto my unhelmeted head and back onto packed dirt and gravel. Always kind of felt dumber, slower after that day