Ta'wiz for Migraine
For migraine or pain in half of the head, place the hand on the place of the pain and recite this three times:
یَا ظاهِراً مَوْجُوداً وَیَا باطِناً غَیْرَ مَفْقُودٍ ارْدُدْ عَلَی عَبْدِکَ الضَّعِیفِ أَیادِیَکَ الْجَمِیلَةَ عِنْدَهُ وَأَذْهِبْ عَنْهُ مَا بِهِ مِنْ أَذیً إنَّکَ رَحِیمٌ قَدِیرٌ
Translation: O You who are present in the outward and also present in the inward, return Your goodly blessings to Your weak servant and remove from him every kind of pain and harm; surely You are Kind and Powerful.
After that, send salawat upon Muhammad and the family of Muhammad (s), and invoke curses upon the enemies of Muhammad and the family of Muhammad (s).