The lump on your eyelid is most likely a stye or chalazion. These form when an eyelid gland becomes blocked and then swells.