HSG test

Latasha • Had ectopic pregnancy of march 2010, had 3 miscarriages December 2012-march 2013 with drs help. Now pg w/rainbow baby!
I'm having an HSG test done Friday morning & I was wandering if anyone knew what to expect or had this procedure done?? Thanks.