Bacterial vaginosis

Has anyone ever had this before. Do you have to wait till it’s gone to have sex. How long does it take for the odor to go away after starting antibiotics?