Cramps at night

Carlye🎀 • Layla Irie, 6lb 7 oz, born 11/24 at 37 weeks 💞
I'm 22 weeks 4 days. For the last couple of nights I've been woken up by very sharp cramps that last for a few minutes. It seems to be only once a night but is very painful. Nothing ever happens during the day. Has anyone had something like this happen?