Have Cat Questions? Ask a Cat Vet Online.
You can wash the eyes gently with warm water or saline. Then dry them well with a clean dry towel. If the gunk comes back quickly, you need to see the vet. This is an indicator that there is an infection present and you may need antibiotics.
Let me know if you still have questions.