The day before your procedure, your gynecologist may put a special substance on your cervix to soften and dilate it. The substance may cause some abdominal discomfort and spasms. Make sure to ask your health care provider what kind of pain medication you should use in case the pain becomes severe.