A stye is a lump on your eyelid caused by a bacterial infection. Improperly sanitized contact lens, eye makeup, and conditions like diabetes and rosacea can increase your risk of a stye.