Even though the infection might go away on its own, most doctors treat it with antibiotics. You may have been given pills or cream for your vaginal area. Bacterial vaginosis usually goes away in 5 to 7 days after treatment.