Period like cramps after cervical examination

Had my check up today and the doctor examined my cervix - could this be the reason I am having period like cramps low down? Anything I can do to relive them?