Clean the stye. Styes are caused by dirt, fecal matter or other debris that infects your sebaceous gland with bacteria. If you wake up in the morning with a stye, the first thing you should do is clean it, to remove the source of the infection.
Dip a cotton ball or swab in warm water and gently cleanse the stye.
Continue cleansing the area several times a day. Be sure your hands and the cotton ball you use to wash the stye are clean, so you don't transmit more dirt to the area.
Use antibacterial cream. Buy an over-the-counter antibacterial cream made for treating styes. Apply a small dab on the stye, taking care not to get it inside your eye. Do not use it more times per day than indicated on the packaging of the cream.