Infection after hsg

Donna
I had an hsg test through my ovulation on the 15th of this month and I can home and we bd but I have a uterine infection and been given vaginal antibiotics........ And used my first application last night and worried I could be pg but won't find out until next Wednesday if af come :( but have to take the antibiotics otherwise can be fatal to my fertility