White/yellow discharge on my 2 week old baby’s eye

Since we came from the hospital my newborn has been having this discharge coming out of one eye only. At first I thought it was normal and it would stop eventually but now its yellow… his appointment is next week but i wanted to see if anybody ever dealt with that?