She needs to go to the gynecologist. There's an infection, and she needs to find out what sort so she can be treated before it causes some serious problems.
Any discharge that has color to it, i.e. yellow, green etc. and especially if it has a foul odor attached to it, indicates that there may be an infection of sorts going on.