Checking cervix

I’m getting mine checked out at 38 weeks next Wednesday to see if I’m dilated. Just wondering how do they check do you lay down? Or stand and does it hurt ? Tia