What is in your eyes is called eye discharge, and generally speaking, excessive eye discharge could be resulted from a cold, pink eyes. It could be seen as a health risk sign. So, you need to have your eyes checked in the hospital and try to pay attention to your rest and diet, take some vitamin pills.
Your eyes may get the infection. As we know, the eyes will excrete the dirty things during the night and absorb some. You still find that there are so much sleep in your eyes. You'd better go to the hospital to have a check on the eyes. You may use the medical treatment to make you have the clear eye vision. You could also use some eye drops to release the symptom.