I think the problem here is that you had to do all your exams at once - for me, my first AS-Level units were a big wake-up call; I was predicted AAA in three sciences and came out with BCC. At that point, I realised I needed to work harder and ended up with AAB at the end of the year after re-sitting my January exams.
What I'm trying to say is that you probably do have the potential to do a lot better, but didn't expect the exams to be as difficult as they were (and so you didn't prepare well enough), leading to these bad grades. As such, my advice in this situation would be to re-sit, do better, and study what and where you want to study!
Good luck - I genuinely do hope that everything turns out okay for you! It's a crap situation to be in, but I know from experience that you can turn it around.