Well, a stye is inflammation of the eyelid, and it is usually inside one of the small glands lining the eyelid. For the causes, we can say that most of styes are caused by infection from bacteria. And for the treatments of it, there are many ways you need to try. And first, just make sure your eyes are far from the bacteria, or it will just make the situation more serious. Also, you can have heating a piece of garlic which will work wonders if done right. In detail, you can just put heated garlic on stye and hold until garlic cools. Anyway, just be careful about it.