Vaginitis can also be due to an infection. In some cases, the infection is caused by germs that are passed during sex. Gonorrhea, chlamydia, HIV, and trichomoniasis are STDs that can cause vaginal discharge. Douching is not recommended because it might increase the risk for vaginal infections and PID.