BACTERIAL VAGINOSIS

I have a question.. so I have BV and I was prescribed anti biotics for 7 days. So on day 3 of taking them, I had sex. No condom... will my infection still go away while continuing these biotics or did that ruin it? I really want this infection gone and I probably shouldn't have had sex. It was in the heat of the moment 😬