HSG test

Monday I'm supposed to get a HSG test done. What exactly is done? How long did it take you to get your results?