This is more of frustration intolerance and proper therapy is available for this. I would suggest see a Psychologist who is trained in managing frustration related issues. Automatically all the other things Will gradually be managed by you.
Next Steps
See a psychologist online offline
Health Tips
A lot of times Instant gratification is at the source doesn't mean that one is not working but they are vulnerable to the discomfort of failure. This can be managed with proper therapy and some action plan that can be worked upon.