To treat bacterial vaginosis, your doctor may prescribe one of the following medications: Metronidazole (Flagyl, Metrogel-Vaginal, others). This medicine may be taken as a pill by mouth (orally). Clindamycin (Cleocin, Clindesse, others). Tinidazole (Tindamax).