Most styes heal within a few days on their own. You can encourage this process by applying hot compresses for 10 to 15 minutes, three or four times a day over the course of several days. This will relieve the pain and bring the stye to a head, much like a pimple. The stye ruptures and drains, then heals.
Never “pop” a stye like a pimple; allow it to rupture on its own. If you have frequent styes, your eye doctor may prescribe an antibiotic ointment to prevent a recurrence.
Styes formed inside the eyelid either disappear completely or (rarely) rupture on their own, and they can be more serious. These styes may need to be opened and drained by your eyecare practitioner