HSG test?

Has anyone had an HSG test? After IUI #5 failed, I think that's my next step. I've heard of it helping to clear out tubes and ppl getting pregnant right away after. What can I expect?