Random Cervix Pain?

Anyone else get random sharp pains deep inside what I'm assuming is around the cervix area? I told my OB about this last week and she said it is normal as long as it isn't constant. 
It still worries me though, like could it be an infection or something? My worst fear is incompetent cervix, but I don't know if that causes random sharp pains?