No problemo, I failed my first test and later went on to fail my second. First time around, I was absolutely gutted. I spent the entire night thinking and rewinding it.
Second time, there was a lot more at stake and I was way too confident that I'd pass. Which isn't a bad thing, I just didn't prepare myself for failure, so when I did fail, I was ready to move to another country.
Still, third time lucky and I passed today with 3 minors 👌 So just keep at it. Most people don't pass first time anyways. At my test centre, the first time pass rate is about 40% so less than half of all candidates will make it. So don't take it too hard; just rebook and do it again (and again, if you're like me).