There's usually no treatment needed for styes and the stye will usually go away on it's own within a week or two weeks.
However you can help the stye go away much sooner or at least make the stye feel better by applying a warm compress to the Stye for 10 to 15 minutes several times per day.