It hurts

I have not had any luck so far TTC so I went to have that test done at my doctors offices where they test your Fallopian tubes on June 28th. I was unable to complete the test because it was extremely painful after being dilated and clamped. I have been in pain ever since. It comes and goes. I ovulated over the weekend and my hubby and I did the BD despite the pain. This morning the pain is so bad that I was wincing on my way to work. I just feel like laying down but I have an 8 hour shift to complete. Could the procedure have injured me internally somehow? Has anyone else experienced anything similar?