do cramps and pressure help you efface or dilate?

I'm curious to know if all of this pain is productive lol! I feel like it has to be because for the last 2 hours it's been so intense. It eased up a bit now but I'm just curious if it helps your cervix and things like that to prepare? I'm 37 weeks!