Cramping at 18 weeks

I had some decently painful cramps today almost like when you have to use the bathroom sorry TMI. I’m 18 weeks. I did just have a doctors appointment this week and all was well. Is this normal?