Pinching pain in cervix

It feels like someone is poking my cervix with a sewing needle repeatedly. It's been happening ALL NIGHT and hasn't stopped for very long. It's multiple super fast pinches that last about a minute or more and I don't know what it is. I'm almost 28w. Anyone else have this strange sensation?