HSG and Clomid?

Becka • Student and stay at home wife. Currently TTC baby #1. Starting assisted conception in June.
For those of you who had the HSG done were you able to have sex that night? I am scheduled to have the HSG done on cd 10. I also start clomid cd 3-7 and am worried that I am going to miss the ovulation window/ have it be messed up from the HSG. Please help