[
    {
        "role": "user",
        "content": "what%20causes%20a%20stye%20to%20come%20on%20one%27s%20eye"
    },
    {
        "role": "assistant",
        "content": "A stye (also called a hordeolum) is a red, painful bump on the edge of your eyelid, often resembling a pimple. Here\u2019s a breakdown of *what causes* styes\u2014including the types, risk factors, and how the infection develops.\n\n---\n\n## What is a stye\n\n- A stye is an infection of a gland in your eyelid, usually at the base of an eyelash (external) or inside the lid in oil-producing glands called meibomian glands (internal). ([my.clevelandclinic.org](https://my.clevelandclinic.org/health/diseases/17658-stye?utm_source=openai))  \n- It typically shows as a tender red lump, sometimes filled with pus, that may swell, cause discomfort, or make you feel like something is in your eye. ([healthline.com](https://www.healthline.com/health/eye-health/what-causes-a-stye?utm_source=openai))  \n\n---\n\n## How it starts: what causes it\n\n- **Bacterial infection**: The most common culprit is *Staphylococcus aureus*. These bacteria are normally present on the skin, but can grow when they get trapped in a blocked gland or hair follicle. ([my.clevelandclinic.org](https://my.clevelandclinic.org/health/diseases/17658-stye?utm_source=openai))  \n- **Blocked glands**: Oil glands or hair follicles can get clogged by oil, dead skin cells, makeup residue, or sweat. When they clog up, bacteria have a chance to multiply and cause infection. ([medlineplus.gov](https://medlineplus.gov/ency/article/001009.htm?utm_source=openai))  \n\nThere are two main types of styes:\n\n- **External stye**: at the base of an eyelash or involving glands of Zeis or Moll. ([webmd.com](https://www.webmd.com/eye-health/understanding-stye-basics?utm_source=openai))  \n- **Internal stye**: arises in deeper oil glands (meibomian glands) inside the eyelid. ([my.clevelandclinic.org](https://my.clevelandclinic.org/health/diseases/24478-internal-stye?utm_source=openai))  \n\n---\n\n## Risk factors \u2014 what makes someone more likely to get a stye\n\nHere are things that increase the odds:\n\n- **Touching eyes with dirty hands** or rubbing eyes often. ([mayoclinic.org](https://www.mayoclinic.org/diseases-conditions/sty/symptoms-causes/syc-20378017?utm_source=openai))  \n- **Contact lens use**, especially when hygiene (cleaning hands, cleaning lenses) is poor. ([healthline.com](https://www.healthline.com/health/eye-health/what-causes-a-stye?utm_source=openai))  \n- **Eye makeup habits**: using old or contaminated makeup, not removing it at night, sharing cosmetics. ([webmd.com](https://www.webmd.com/eye-health/understanding-stye-basics?utm_source=openai))  \n- **Skin conditions** like rosacea, seborrheic dermatitis, acne, or blepharitis (chronic inflammation of the eyelid margin). ([webmd.com](https://www.webmd.com/eye-health/understanding-stye-basics?utm_source=openai))  \n- **Other health issues**: a weakened immune system (e.g. due to diabetes), or other systemic conditions may increase susceptibility. ([webmd.com](https://www.webmd.com/eye-health/understanding-stye-basics?utm_source=openai))  \n\n---\n\nIf you want, I can also tell you what to *do* when you get a stye, how to treat it, and how to prevent them from recurring."
    },
    {
        "role": "user",
        "content": "yes"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s how to treat a stye and reduce your risk of getting them again, based on up-to-date medical guidance:\n\n---\n\n## How to treat a stye\n\nMost styes heal on their own, but you can do a few things to relieve the pain, speed up healing, and prevent complications. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai))\n\n| What to Do | Details |\n|------------|---------|\n| **Warm compresses** | Apply a warm, damp cloth to the closed eyelid for **5\u201310 minutes**, **3\u20136 times a day**. Warmth helps the stye drain naturally. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai)) |\n| **Clean eyelid gently** | Use a mild soap, tear-free baby shampoo, or special lid-scrub pads to clean the eyelid margin. Do this daily. Avoid harsh products. ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai)) |\n| **Avoid irritants** | Don\u2019t wear eye makeup or contacts until the stye clears up. These can harbor bacteria or delay healing. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai)) |\n| **Pain relief** | If needed, use over-the-counter pain medication like ibuprofen or acetaminophen. Also, topical antibiotic ointments may be prescribed if infection is significant. ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai)) |\n| **Don\u2019t squeeze or pop it** | Popping a stye can spread infection and make things worse. Let it drain naturally or under medical supervision. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai)) |\n\n---\n\n## When to see a doctor\n\nReach out to a healthcare provider if:\n\n- The stye doesn\u2019t begin improving after **2 days** of home treatment. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai))  \n- It lasts longer than **1\u20132 weeks**. ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai))  \n- It\u2019s very painful, especially swollen, or spreading. ([hopkinsmedicine.org](https://www.hopkinsmedicine.org/health/conditions-and-diseases/hordeolum-stye?utm_source=openai))  \n- It interferes with vision or you have sensitivity to light. ([webmd.com](https://www.webmd.com/eye-health/remedies-stye?utm_source=openai))  \n- You get recurrent styes\u2014that could point to an underlying issue (like blepharitis or another eye condition). ([webmd.com](https://www.webmd.com/eye-health/understanding-sty-prevention?utm_source=openai))  \n\nTreatment your doctor might use:\n\n- Antibiotic eye drops or ointments. ([mayoclinic.org](https://www.mayoclinic.org/diseases-conditions/diagnosis-treatment/drc-20378022?utm_source=openai))  \n- Oral antibiotics if the infection spreads. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai))  \n- Draining or minor surgery (performed in the clinic) for large or non-resolving styes. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai))  \n\n---\n\n## How long styes typically last\n\n- Most heal on their own within **7 to 10 days**. ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai))  \n- Some may take up to **2 weeks** or more, especially without treatment. ([stanfordhealthcare.org](https://stanfordhealthcare.org/medical-conditions/eyes-and-vision/chalazion-stye/treatments.html?utm_source=openai))  \n\n---\n\n## Preventing styes in the future\n\nGood hygiene and lifestyle tweaks can lower your risk. ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai))\n\n- Wash your hands before touching your eyes or handling contacts.  \n- Clean eyelids regularly, especially after wearing eye makeup. Use mild options like baby shampoo or special lid scrubs. ([webmd.com](https://www.webmd.com/eye-health/understanding-sty-prevention?utm_source=openai))  \n- Discard old or contaminated eye makeup (especially mascara and eyeliner). ([healthline.com](https://www.healthline.com/health/beauty-skin-care/best-stye-remedies?utm_source=openai))  \n- Replace contact lenses as directed and follow proper lens care.  \n- Address any chronic eyelid issues (like blepharitis) or related skin conditions (e.g. rosacea) with your doctor. ([healthline.com](https://www.healthline.com/health/eye-health/what-causes-a-stye?utm_source=openai))  \n\n---\n\nIf you\u2019re experiencing a stye right now, I can guide you step-by-step through a home care plan that suits your schedule and comfort."
    }
]