How can I help my eyelid infection heal faster?

Warm compresses. A eye infection or chalazion responds slowly to medication. It is uncomfortable but not dangerous. Antibiotics may help and rarely you amy need opthamologist to remove the area if it does not resolve in several weeks.
Eyelid infection. See an ophthalmologist to determine if it is bacterial, viral or even fungal. Treatment depends on the organism responsible for the infection. Other diagnoses that might be present rather than a regular infection, can be styes, skin cancer and allergic or irritant contact dermatitits.