failed my hour test 😭

I was completely upset when I was told I have to come back for the 3 hour one. what should I expect. I didn't eat anything or drink anything before my test and I still failed. So any advice.?? Is this something I could have avoided or just my bad luck.?? just curious.