Painful cramps/headaches - 18 weeks pregnant

I'm almost 18 weeks and have been experiencing painful cramps the past few days, they only last around a minute and happen 2 or 3 times a day. 
​I've also been having headaches which I never had before.
​Anyone know if this is normal or should I be worried? I just received treatment for a uti last week.
​Thanks  

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors