Treatment depends on the type of infection. Bacterial vaginosis is usually treated with antibiotics, while yeast infections are treated with antifungal medications. Trichomoniasis is treated with antiprotozoal medication. Over-the-counter treatments are also available for some types of infections.