For prevention of Chalazion following measures are of great help-
If you are among high risk group for Chalazion or have a strong
family history then apply hot towel compress on both eyes for 5-10 minutes
every night before sleeping and gently clean the lid margins to prevent
blockage of oil glands of eyes.
Clean eyelashes daily to remove bacteria, dirt etc.
Avoid touching your eyes with unclean hands or handkerchief since dirt in them can block oil glands resulting in Chalazion.
Keep your eyes clean with a solution of clean water & baby shampoo.
Exercise adequately and maintain good immunity with balanced diet and healthy lifestyle.
Maintain routine eyelid hygiene measures.
Avoid rubbing your eyes which can irritate them.
Protect your eyes from dirt, dust, pollution, smoke.
Use good quality eye make-up and change them routinely preferably biannually.