How soon can we have sex?

So we’ve been ttc for a year now. I couldn’t understand what was happening. Turns out I had an STD and I never knew, from a previous partner. I’ve taken the medication now and he will start taking his on Monday. I am ovulating soon. We want to keep trying, I don’t want to feel like this month was a waste. How soon can we have unprotected sex again?

My medication was 4 pills all in one day.