ERCP is usually performed under sedation, so patients generally don't experience pain during the procedure.