HSG Procedure Tips/Advice/Experiences...

Hey y'all. I just scheduled my HSG for next Wednesday. Does anyone have any experience with this test? Tips or advice? I am not sure what to expect. Are we allowed to have sex the days leading up to the procedure? And what about after? Thanks!