Bacterial vaginosis

Why can you not have sex while having a bv?