Getting rid of a stye in one day is unlikely, but NHS Choices explains that using a warm compress on the eye causes the pus to drain. Once this occurs, the stye often clears up quickly.
To treat the stye, dip a cloth in warm water, and apply it to the eye for up to 10 minutes, three or four times a day, according to NHS Choices. Continue this procedure until the pus drains or the stye disappears. Also keep the area around the eye clean, and gently wipe away any crust that forms. Treat pain with over-the-counter pain medications, such as ibuprofen and acetaminophen.
TeensHealth suggests cleaning the eyelid with a special eye cleanser, which is available at a pharmacy, or with watered-down baby shampoo. Dip a cotton ball in the solution, and use it to clean the eye gently. TeensHealth also recommends wearing eyeglasses rather than contacts until the stye goes away. Clean contacts thoroughly before using them again.
If vision is affected, the eye is painful or swollen, or the stye does not go away, TeensHealth advises consulting a physician. Doctors can prescribe an antibiotic cream to be applied to the eye or antibiotic pills to take orally. It may be necessary for the doctor to make a small cut in the eyelid to allow drainage to occur.