If you detect a stye beginning (red lid margin, white dot on the margin, local tenderness, diffuse swelling of the lid), then the best thing is heat.
Put a wash cloth under the warm (not hot) water tap and apply to the eye
for 4 minutes 5 times per day. This will usually get rid of it. Topical ointments and drops usually do not help even if labeled for stye.