I just got my first test back in My poltical Science class and I flunked it majorlly

I am so deperssed I made a 63% on the test and I feel like such a failuer. What am I going to do. I have never flunked a test this baldy kin over 15 years or more.....
I do not know what to do... I had been doing so well latley even with a bunch of memories playing tricks on me, I had moved on past some doubt about myself and now this stuff comes up..
Help me.
I feel so down right now. all I want to do is cruel up, and sleep. and I am at school so that is not an option
<font color=purple>The way to love anything is to realize that it might be lost.
- G.K. Chesterton
<font color=purple>