A stye is a relatively common eye infection and is usually harmless. Styes are caused by a build-up of the Staphylococcus bacteria which can be found in your nose. It is often transferred when you touch the inside of your nose and then your eyes, causing a stye to develop.