I have experienced worms and other parasites in my eyes and eyelids. Eye doctors will rarely see or find anything-as I found out personally.
You can try applying about 1/2 inch Bacitracin first aid Antibiotic ointment on your eyelid at bedtime. Gently rub it into your entire lid and lashes. It may take a few nights to work. I've used it quite a lot and had good success with it.
It may make you nervous to do this, but bacitracin only contains petroleum jelly and zinc. It solved my problems and was not at all uncomfortable.
If you have worms, forget about using herbals and other natural ingredients. They simply don't work!