Hsg test. Scared...

I am scheduled to do an hsg test on Monday and I am very scared. I have been ttc for 4 years and I had a miscarriage 2 yrs ago. I started going to a fertility specialist and said to do the procedure.. I have been reading comments on her and online and I get even more scared. I have very bad period cramps but the whole idea is scary to me. Any advice or anything helpful to calm me through it? And I definitely will take medicine before!