When to go to L&D

I've had on and off cramping all day so I'm wondering when I should go get checked? It feels like period cramps in my pelvic area and lower back. Ftm here and only 36 weeks.