hey there, i was the exact same after failing mine the first time; i couldn't stop thinking about it for a couple of weeks after but it does get better with time. Many people fail the first time (my uncle failed 4 times & he'd been driving in a different country for years beforehand) & it doesn't mean you will be a worse driver when you do pass (in fact, people who pass 2nd/3rd time tend to be safer drivers), especially since it was a stupid mistake that failed you.