There might be some infection, that too of th ecervix that is causing the discharge. and the itchy and painfulfeeling is due to the infection itself..get the vaginal smear test done and start on treatment based on what the diagnosis comes of the smear.