IUD appointment

I'm planning on getting the iud soon and I just had an appointment with my gyno and he said that they have to give an in clinic medication to relax my cervix and I was wondering if they give you that medicine at the appointment when they insert the iud or are they two different appointments?