HSG test

Leslie • Son 11/04/2017 and daughter to be born 12/21/2018
So I just came from a follow up appointment with my ob/gyn and he said my test show I am ovulating and my other tests are normal. He is sending me for a hsg test and said my husband show get his sperm tested as well to make sure he is fine. I have been pregnant twice ( both miscarriages) but it's been over a year now since my d&c and still have no fallen pregnant. Has anyone been for this hsg test and can tell me what to expect! Thank you