How do you know you have blocked Fallopian tubes?

I know not everyone gets symptoms but what made you get a hsg test??