Staphylococcus is a common bacteria which tends to cause chalazion. Though the stye may subside the bacteria may remain and when the immunity is down cause an infection again. Homeopathic Medicine has good remedies like Pulsatilla, Staphysagria, Thuja, Sulph. Etc. to see that the existing ones subside and recurrence prevented.