A sty forms when bacteria such as Staphylococcus aureus infect one of the tiny oil glands at the base of an eyelash. The infection produces a tender, red, pus-filled bump or boil.
You can take him to a doctor or to an Emergency room. He may need antibiotic ointment to the eye or antibiotic by mouth. In rare cases if the treatment fails then the sty to be opened and drained by the surgical means. In the mean time apply a clean, warm (not hot), wet washcloth to your baby's infected eye. Although he'll probably wiggle and resist you, try to hold the compress in place for ten to 15 minutes at a time, and repeat three or four times a day. The process can go more smoothly if you apply the compress when he's asleep or distracted by a feeding. The heat will draw the pus to the front of the sty, so it can break open and drain. For more information please click the link just below:
http://www.babycenter.com/refcap/baby/babyills/babyeyes/11193.html
Please click the green accept button if my answer is helpful to you. A positive feedback rating and a bonus would be encouraging. If you have any further questions please feel free to ask. Take care , Dr.Yetimyan.