It’s always better NOT to make a decision or take a decisive action when you’re trapped by a negative feeling or emotion. If you did, the outcome of your decision/action would be quite different from what you originally wanted or intended.
So what should you do? Instead of making impulsive decisions or taking hasty actions, go somewhere you can be alone, and write down your negative thoughts on paper. All of them. Be specific. Negative thoughts keep growing if they exist only in your brain; they start to disappear if you write them down and see them objectively.
Learning how to control our state of mind is not easy, but worthwhile. Our life is limited, and it can be much shorter if we don’t know how to control our state of mind.