My first ever break up and I'm broken.

I (29m) was broken up with earlier today. I took her for granted and even lied saying I stopped smoking (I'm so close to quitting, down to last 1-2 a week) but she caught me smoking and that was it. I know it's my fault but for the last 7/8 hours I've been broken. I'm shaking uncontrollably, I have no appetite and every time I try to distract myself doing literally anything she's just straight back into my head and my heart drops. I keep trying to make lies in my head that she was toxic or other bullshit but then realise a few mins later I'm kidding myself and she was the most perfect and amazing person I've ever had in my life...

Do I message her apologising and asking for another chance or something like that?

I don't know what to do and am just looking for some advice or even just a shoulder to cry on... In my head right now I can't see myself ever recovering or finding anyone else half as amazing and perfect as she is... I already know I won't be sleeping at all tonight and just want to drink myself to sleep but know that isn't a heathy response at all... I'm so lost right now...