Place your hand at the site of the pain and say (three times):
بِسْمِ اللَّهِ
In the Name of Allah
Bismillaah.
Then say (seven times):
أَعُوذُ بِاللَّهِ وَقُدْرَتِهِ مِنْ شَرِّ مَا أَجِدُ وَأُحَاذِرُ
I seek refuge in Allah and in His Power from the evil of what I find and of what I guard against.
A'oothu billaahi wa qudratihi min sharri maa 'ajidu wa 'uhaathiru.
Muslim 4/1728.