A Stye will usually go away in two days on it's own without treatment but you can try to help get rid of the stye sooner by applying a warm damp towel to the eyes and even apply cool cucumber or potato slices to the eye.
If the stye doesn't go away on it's own or the above home remedies for the stye don't work then you might need antibiotic ointment from your doctor to get rid of the stye.
In most cases the stye will go away on it's own in a few days.
Also be sure to keep your eye clean.