HSG test?

Anyone done an HSG test while taking these meds? When am I supposed to schedule it? I’m taking progesterone right now to induce a period because I haven’t had one in 200 days. Supposed to take letrozole days 3-7. Is it okay if I have one while I’m taking a drug to help me ovulate?