To see what's causing your vaginitis, your doctor may do an exam, look at a sample of your vaginaldischarge under a microscope, or do other tests, like a urine test.
It's a good idea to pay attention to what your vulva and vaginaldischarge normally looks and smells like, so you'll know if something changes — it could be a sign of an infection.