How old do you have to be to get a hsg done?

21? Or what and how much does it cost