To "know the drill" of something is to know what to expect. A dentist's office has drills for peoples' teeth. To "know the drill" can also mean that the person is familiar with the drill used in the dentist's office. It's a play on the word drill.
I ' ve been to the dentist several times so I know the drill .