stomach issues or contractions?

Savannah
I'm confused...I'm 36 weeks today and since last night I've had waves of stomach pains, I honestly don't know if it's a stomach issue or contractions...any advice? My stomach aches before pregnancy came in waves so it's confusing