You can treat an eye stye with home remedies and over-the-counter medications. Styes usually resolve in 7-10 days. See a doctor if your stye gets worse or lasts longer than 2 weeks.

Your eyelids have lots of tiny oil glands, especially around the eyelashes.

Dead skin, dirt, or oil buildup can clog these small holes. Bacteria can then grow inside and cause a sometimes painful, pimple-like stye to develop. This is also known as a hordeolum.

The bacteria Staphylococcus aureus or Staphylococcus epidermidis cause about 90–95% of styes.

“Styes usually go away on their own within 7–10 days,” Dr. Michele Green, a New York-based cosmetic dermatologist, told Healthline.

Here are six ways to speed up the healing process for styes.

A warm compress is the most effective way to treat a stye. The warmth helps bring the pus to the surface, dissolving it so the stye can drain naturally.

Wet a clean washcloth with warm water. Make sure the water isn’t too hot. Wring the cloth, so it’s damp but not dripping. Then gently place it over your eye for about 10–15 minutes. Don’t squeeze or try to puncture the stye.

To keep the washcloth warm, reheat it every 30 seconds by dipping it in warm water and wringing it. Repeat the compress about four times daily for optimal results.

Instead of using a warm cloth compress, you can use a warm tea bag. Black tea works best because it helps reduce swelling and has antibacterial properties.

Add boiled water to a mug, then drop a tea bag as if you were making tea. Let the tea steep for about one minute. Wait until the tea bag cools enough to place over your eye, then keep it on your eye for about 5–10 minutes. Warm it up every 30 seconds by placing it in warm water and wringing it. Use a separate tea bag for each eye.

“You can use black tea as a compress twice daily to reduce swelling and discomfort associated with a stye,” Green said.

However, the wetness might irritate the skin in some people, so you can also make a dry compress by placing a bit of uncooked rice in a sock and microwaving it for 20 seconds. Make sure to press on the bump to help it drain.

You can do this three to four times each day.

Green advises avoiding harsh, synthetic chemicals when cleaning the eye area. Instead, ingredients should be hypoallergenic and nonirritating, she said.

“The skin around the eyes is much thinner than the rest of your face. Therefore, you need to be careful with products you apply to your eye area,” Green said.

She recommends using OCuSOFT to cleanse eyelids because it’s been shown to be effective against bacteria commonly found on the eyelid. Its formula effectively kills seven strains of bacteria, according to Green.

You can also choose a tear-free baby shampoo and mix it with warm water. Use a cotton swab or clean washcloth to gently wipe off your eyelids. You can do this every day until the stye is gone.

Cleaning your eyelids also helps prevent future styes.

Another option is to use a saline solution. It can help promote drainage and break down bacterial membranes.

Take an over-the-counter (OTC) pain med, like ibuprofen (Advil) or acetaminophen (Tylenol), to get relief. Follow the instructions on the package to make sure you’re taking the correct dose.

Avoid wearing makeup if you have a stye. Makeup can irritate the eye even more and delay the healing process.

You can also transfer additional bacteria to your makeup and tools, adding another infection to the stye. Wash your reusable brushes regularly.

Throw out any eye products, such as mascara and eyeliner, over three months old. Also throw out any products you’ve used while having a stye, as they may contain bacteria.

If you wear contact lenses, stick with glasses until your stye heals. Bacteria from the stye can get onto the contacts and spread the infection.

Change to a new set of contact lenses when the stye heals to prevent reinfection.

You can massage the area in combination with lid wipes to promote drainage. Massage the area gently with clean hands.

Once the stye drains, keep the area clean, and avoid touching your eyes. Stop massaging if it hurts.

If the stye is causing serious pain and interferes with your day-to-day activity, visit a doctor. They may prescribe an antibiotic ointment, erythromycin, which you apply for 7–10 days. However, research shows topical antibiotics are not always effective.

Talk with a doctor if your stye lasts longer than two weeks or does not resolve with home remedies. Also, see a doctor if you have reoccurring styes. It may be a sign of an underlying condition, such as conjunctivitis, blepharitis, or cellulitis.

Other symptoms to talk with a doctor about include growing redness and swelling on the skin around the stye or inflammation and crusting in the eye area without a visible bump.

See a doctor immediately if you notice changes to your vision that don’t go away after you blink, or if your eye becomes sensitive to light.

If symptoms do not improve, you may need to see an ophthalmologist for more specialized treatment. They may need to drain it, especially if it’s internal or affecting your vision.

To avoid getting a stye, wash your hands with soap and water before touching your eyes. Remove eye makeup every night before sleeping. You can also clean your eyelids with an ear swab dipped in warm water and mild soap or shampoo.

Getting a stye increases your risk of another one. Using warm compresses regularly can help prevent another from forming.

Unless you’re cleaning or applying warm compresses to the stye, avoid touching it to reduce bacteria spread and irritation. If you must touch the stye, make sure you’re doing so with clean hands. Wash your hands afterward.

Washing pillowcases often is another step you can take to prevent styes.

How do I get rid of a stye overnight?

It’s unlikely you’ll be able to get rid of a stye overnight. They typically take 7-10 days to fully heal. Applying a warm compress is the most effective way to hurry up the healing process and soothe your eye.

Wet a clean washcloth with warm water and wring the cloth, so it’s damp but not dripping. Gently place it over your eye for about 10 minutes. You can apply warm compresses 3 to 6 times a day.

DO NOT squeeze or try to pop the stye.

What triggers an eye stye?

A stye is caused by a bacterial infection. Most styes are caused by either Staphylococcus aureus or Staphylococcus epidermidis.

What’s the fastest way to get rid of a stye?

The healing process of a stye can last about 7–10 days with home treatment. Warm compresses, applied to the eye for 5 to 10 minutes, 3 to 6 times a day might help the stye heal faster. You might also try over-the-counter ointments or pads.

It’s important to let the stye heal on its own. Don’t try to squeeze or open it. And don’t wear eye makeup or contact lenses until the area is fully healed.

Can you pop a stye?

Bacteria cause styes, so don’t pop, squeeze, or touch a stye. It might seem tempting, but squeezing will release pus into the eyelid itself and may lead to a wider infection.

Talk with a doctor if home remedies do not help clear it.

Are styes contagious?

Styes aren’t directly contagious. You cannot get a stye by coming in contact with a person who has one. It’s a phenomenon of local inflammation and irritation that can’t be spread to others through casual contact.

However, if you pick at the stye, you could spread the bacteria elsewhere. You could also introduce additional bacteria to the area, which can cause a secondary infection.

How long does it take for a stye to go away?

A stye can last several weeks and even months if untreated, though you shouldn’t let it progress to months.

If you find your stye lasts more than two weeks, make an appointment to see a doctor.

Read the article in Spanish.