Weird pains

Weird pains innnnnnn vagina while trying to go to bed last night. They were mostly dull achey like but they hurt. 18 weeks.