You recite vidui and confess and say tehillim pesukim and then donate tzedaka and
For Men the procedure is to count out 130 silver coins gematria Ayin plus 58 coins for the Divine Shem Che"n that's a shem Yud kei vav kei made of the milui for all 4 shemos of Hashem, its 188 coins, twice. one for each eye and then you donate the value.
Then you rearrange the coins based on a tefilah then you donate a bottle of olive oil for Rabbi Meir ba'al haNeis and then study mishnayos by the bright light of the moon followed by recitation of Zohar called pasach Eliyahu and Kaddish
for Women it's an additional 402 coins x 2 times two! to spell Bas Ayin, one for each eye.
The second is called Kal vaChomer and involves studying selections of Torah on Kal vaChomer and reciting tefilos by the opening of the Ark and dripping drops of water - Chassadim that the person later drinks its also specifically for eyes a tikkun for pegam eynaim as well as physical ailments.
I also started a project a Tefillin Gemach for avrechim who want to wear the kabbalah tefillin of Shimusha rabba and Ra'avad.