Period like cramps

I will be 32 weeks Saturday but this morning I experienced 2 period like cramps that were painful but not doubling over painful. Should I see a doctor or is it gas? Or maybe stretching idk 👀