Have any of you ?

Have any of you had an HSG test ( Hysterosalpingography)? How long after having it done did you conceive? Was it painful for you ?