a question about eye pain

so i woke up on sunday with a pain in the corner of my eye, and then by sunday night it had spread to my whole eye. This morning it was a little better, more concentrated on the corner again. But it hurts, and hurts when i blink too, so i was wonderin if any of you know what it is? if so, can i surf with it, or do i have to wait for it to go away and how long would it take? , this is my third week with no surf so far, and it fleshin' sucks, this is not what i needed right now. 
