How do you know when to call doctor/midwife

So when do you know when to call your midwife or OB when you’re having stomach aches and feeling nauseous?

I woke around 2am with the worst stomach aches. Couldn’t sleep because of it. I ended up getting sick a bit this morning, but nothing since.

Stomach seems to be nauseous consistently, but it’s worst when I’m standing or walking, and the kicker... laying down :(

So I feel like I can’t even sleep.

Hubby seems to think I should call my midwife, but I don’t want to sound like a crazy person if it’s some weird stomach bug 🥴🤕🤕 I honestly have no feelings of what I should do. 20 weeks pregnant.