Styes can be prevented through good eyelid hygiene. Clean the eyelid regularly by using a washcloth with baby shampoo in the shower or by using a cotton swab dipped in a mild solution of baby shampoo in warm water to scrub along the base of the eyelashes.
Styes are pimple-like lumps that form along the inner or outer edge of the eyelid. They are usually filled with pus and can be accompanied by pain and swelling of the eyelid. Styes usually don't affect vision. Other measures that help prevent them include avoiding contact with expired or contaminated cosmetics, frequent hand washing, avoiding hand-to-eye contact, disinfecting contact lenses thoroughly and consistently using clean washcloths and towels. Styes are more common in people who suffer from blepharitis or acne rosacea, and people with those conditions may benefit from prescription medications.
If a stye occurs in spite of preventive measures, apply a washcloth moistened with warm water to the stye for 10 to 15 minutes several times a day. Use a clean washcloth each time and do not use eye makeup or contact lenses until the stye heals. Do not try to pop or squeeze the stye. If a stye does not show improvement after two days, seek medical attention.