Cervix pain

I’ve been having these sharp pains in my cervix. Is this just maybe it dilating?