wow Briar, you are going to be SO happy and proud of yourself, once you've had a chance to cool down. You've passed a very important test. Now you need to distract yourself quick.
Take five slow, mindful breaths, concentrating on your body as you do do. Never failed for me. Do it now, even if you don't think it will work.
Eat - right away
Do something physical - scrub the floors, set yourself a short immediate task
You will look back on this incident as the time where you could have failed or succeeded and you did it!