Currently miscarrying - when does the pain stop

It’s 1:46 AM here and I got woken up not long ago in crazy pain and expelling what was gonna be our baby 😭 I’ve had horrible periods before but this is obviously nothing in comparison and I can’t sleep through the physical pain that’s happening right now. When everything is expelled it will stop???

Update @ 7AM; I’ve passed quite a bit but wasn’t able to see anything as I was on the toilet all 3 times. Still having contraction feelings every couple minutes and feels like they’ll last forever until they stop for a moment. I would’ve been 12 weeks this week but baby was only measuring at 6 at my last ultrasound. I’m hoping this is done soon so painful 😓 I almost wasn’t able to get anyone to cover my hours today at work 😭