Thanks for your question.
Basically a greenish discharge which may be foul smelling and causing itchiness or pain, is indicative of infection. If this is happening since more than 10 days then please do see your doctor for investigation and also for treatment. If this is happening only recently then this may be due to the overuse of perfumed soaps, bubble baths, colored toilet paper, and shower gels.
Even if not foul smelling, still an examination by your doctor is indicated. A full pelvic examination must be done to rule out and cause for infection and also if discharge is present then investigations may be done to find out the causative organism for which medications such as antibiotics can be given.
You are welcome.