Failed my phone cert and for remedial :( - HR

Idk who to vent out all this feeling, hindi ko masabi kahit kanino that I failed my PC today, only my co-trainee ang nakakaalam. I'm so frustrated, pressured and overthinking right now. Give me some words of advice, please. Btw before my phone cert din I received my notice about compliance and late submission, may 3 akong tantos, and they let me sign an agreement. I know this is my fault naman and I'm willing to do better. Pero sobrang emotional ko lang ngayon about all this an sabay-sabay and failure, thinking if para ba sa akin to??. I've invested a lot, fam's expecting, I'm jobless, idkk. I'm really sorry. Help :)