not really sure

Zee
Ftm here I'm almost 37 weeks an tonight I'm so miserable, not sure if I'm having contractions, my stomach keeps tightening an it hurts. How do I time them? I'm so confused