How do I prevent a stye/ eye infection?

Since yesterday my eye lid has been sore, it’s not swollen but I’m worried I’m getting a stye. Is there anything I can do to stop it before it gets worse?
3 answers 3