16 weeks pregnant

I am 16 weeks pregnant and had a pain where my groin is. It comes and goes should I go to the hospital since my doctors office is closed