My 9 mo old son has a bad cold & now has yellow discharge coming from both eyes. How do I know if he has pink eye, or if it's just the cold?

Needs to see a docto. This could be sign of more serious ear and sinus infection. He needs to be seen by his pediatrician.