Styes will usually heal on their own over the course of a few days to a couple weeks. The best way to treat a stye is to apply warm compresses (a washcloth soaked in warm water) to the affected eyelid for 10-15 minutes three times a day. This will help the pus trapped in the stye to come to the surface of the skin.