I try to avoid caffeine at all costs myself, no matter how tired I am at the office. Nervous/tired causes me to panic.
But same thing happened to me at work yesterday but I just tried to stay calm, and was extremely tired from not having enough sleep the night before.
Then I was at home last night and started panicing and balling for no reason. After I cry, I tend to calm down too.
"Be glad of life because it gives you the chance to love and to work and to play and to look up at the stars."