If the eye has green discharge, you can use antibiotics (Polysporin eye drops or so). If the eye is itchy and swollen, could be allergy to something. Also check for foreign bodies under the upper eyelid.
Sounds like pink eye to me. I would talk to his pediatrician before giving him anything.Good luck.