I've been having sores in the corners of eye. What causes that?

Bacterial infection. This can be from area of hidden infection in tissues around the eyes. You need to se an ophthalmiologist.