PELVIC EXAMS

What week do doctors normally start pelvic exams? I'm currently 33 weeks and just want to be prepared? Also does it hurt? What do they actually do? :)