Well, generally speaking, it will take about one week. First, a chalazion is a blockage in a small duct in your eyelid, and it can lead to a small bump and eyelid swelling. According to some researches, when the glands in your eyes can not release their oil because their duct is blocked, a chalazion will occur. Some factors which can increase the risk of developing a chalazion, including blepharitis, viral infection. You can try warm compresses which may be helpful. For example, you can hold a warm, wet cloth on the eyelid for five to 10 minutes, four times a day. And after one week, it will just be fine.