It depends, probably, on what the metronidazole is for. If it is for a condition that can be passed to a partner, refrain from sex.
I agree. I would not have sex until you finish the medication as Bacterial vaginosis can be passed back and forth and is one of the reasons why women have a recurrence. So, I'd personally finish the meds and wait until after to resume sex unless you use a condom.