How does doctor check for dialation ?

Hi, I'm a first time mom. I will get my first cervix checks this coming up tuesday when im 36w2d and I was wondering how exactly does they do it? Do they have to feel around or stick any scary instruments in there? Does it hurt? I'm really freak out right now. I just wanted to know what it's like before I go in there.