The more you do it, the easier it gets. Some people thrive on stress/pressure and it makes them perform even better. Some people get really nervous and it hurts whatever they're doing.
Experience helps HUGELY, like, the more you do something or practice it, the easier it is when it comes to the time you have to step up. But what can also help is if you put yourself in the mindset that helps you best. For me personally, I realised once that it was all a bit silly really, I learned to purposefully calm and compose myself and slowed myself down whenever I was doing anything that made me nervous, and it seemed to work. Driving tests, exams, talking to women. None of these things make me nervous any more because of experience, but to get to that stage I had to fight through these nerves every time. And that was where I just forced myself mentally to relax.
In the grand scheme of your life, it's all small potatoes, it just seems important at the time. Good luck passing next time
