How to not get mad when studying

No.13536952 ViewReplyOriginalReport
Does anyone else get really mad if they don't understand something? I have been trying to understand the proof of the Riez representation theorem from my functional analysis class for 5 hours and in the meantime maniged to get increadibly angry to the point where I'm schizophrenically swearing to myself in other languages and screaming at my parents who called me. It's not even a hard theorem either, but once I get going I can't focus for shit and it all goes downhill from there.
Anyone got any explanations for why this is the case, and if so, what can be done about it?