Guinea pigs have a milky white fluid which is used for cleaning. This is normal.
If there is any other kind of discharge, watering, squinting, haziness to the eye or if you are otherwise concerned then please see a vet. Eye issues are considered urgent