Pains?

I have been having some pains almost like my cervix is tightening then releasing. Is this something to worry about?