There's a couple things that can be done. First off the vets usually carry special eye ointment that can be put directly into the eyes and the other thing is simply wash the eyes with sterile cotton balls and saline water (saline is great stuff for minor infections like that)....It might be good to have the dog vet checked. Sometimes goopy eyes might mean something more awful like distemper- hopefully it's nothing that serious and just a little cold bug. Best of luck