From the sound of it, you might have a herpes virus infection. Contact your doctor for evaluation to find out for sure and to get treatment started.
Would you like more information about eye conditions that may cause a discharge?