UTI and TTC!

SD
So I woke up with an aggravated bladder and it has become a full blown PAINFUL UTI. Spent part of my new years day morning at the Dr's rooms. Now on 5 day course of antibiotics which will finish up a couple days before my fertile window. Would it be safe to have sex then if all symptoms better? Don't want to get ANOTHER infection straight after this one. Sucks.