Get Your Dog Care Questions Answered by Experts ASAP
Your pup may have a bacterial infection and the only thing that is safe to do at home is to flush the eye with a sterile saline solution /eye wash to remove any debris that may be causing a problem. It sounds like this is beyond debris and I would see vet help for proper diagnosis and treatment.
Here is more on ocular discharge in dogs. http://www.petplace.com/dogs/ocular-eye-discharge-in-dogs/page1.aspx