Hsg test?

Se
My doctor is going to do an hsg on me to see if my tubes are closed or blocked. I am so nerves.is it hurts ? Does any of u had done this?