A stye will usually go away within 2 days on it's own but you can relieve discomfort and help the stye go away by applying a warm damp towel over the eye to get rid of the stye.
Also be sure to keep the eye clean by washing the eye and apply eye drops to the eye.
Just like you would use a warm damp towel over your eye you can also apply warm damp tea bags over the eye to help get rid of the stye.
You can also get rid of a stye by placing cool cucumber or potato slices over the stye.
If your stye doesn't go away within a few days using home remedies you may need to see a doctor to get some antibiotic ointment to apply to the stye or even take antibiotics internally.