cervics and sex

Ola
I had sex yesterday and it was painful from my cervics...I was wondering if after your period does the cervics sit lower and that's why it hards?