How long do you wear the eye patch for after surgery for a chalazion?

24 hours. The patch can be removed in 24 hours or less. I typically do not patch after the chalazion removal.
Agree as stated. You may have been given an ointment or drops to use once the patch is off. Keep the area clean and don't forget the follow-up visit if you were asked to come back.