Welcome to HCM.
IN a girl aged 9 years, Is it painful? itchy? You have to rule out sexual abuse in this child. This can be done by examining her discharge for the presence of STD
organism like Gonococci, Trichomonas or Chlamydia etc. It can be done with the guidance of a Gynecologist or Pediatrician
. If this ruled out, it may be due to vaginal foreign bodies, unhygienic habits and yeast infection. These can be diagnosed by a Gynecologist or a dermato-venereologist. Teach the child to wash her genitals or wipe her genitals by an approach from back not from front which may likely to lodge infections in your child's genitals. Approach your physician and get her cured soon.
Wishing her speedy recovery.