
BeautifullyDeprived
I know what you mean ~ damn perfectionism bites us in the arse every time, doesn't it?!

Are you in college? It's possible for you to talk with your professors/teachers and ask if you may re-take those tests in X amount of time, once you've re-gained a healthy state of mind.
Of course, I don't know why you feel that you did so poorly. It's quite possible that you did better than you think that you did. {I've had that happen too.} But, if you have a physical cause & you know that your mind was simple blank, be sure to talk with the professors! It isn't easy to talk about some issues. But professors are a lot more understanding than we usually assume that they are, and they're more than willing to work with us when we're having problems.
So, feel free to give it a try.

Take care...