It doesn't really confer any resistance." If styes keep recurring, you might consider treating it with antibiotic ointment, eye drops, pills, or even a steroid injection, according to the ...
It'll go away on its own in a week or so ... or if your baby keeps getting styes, visit your doctor. Your baby may need ointment or even an antibiotic ointment to clear the infection.