Ta'wiz for Mouth Pain
Imam Ja'far al-Sadiq (as) says that to end pain in the mouth one should place the hand on the place of the pain
and recite this dua:
بِسْمِ اللہ الرَّحْمٰنِ الرَّحِیمِ بِسْمِ اللہ الَّذِی لاَ یَضُرُّ مَعَ اسْمِهِ دائٌ أَعُوذُ بِکَلِماتِ اللہ الَّتِی لاَ یَضُرُّ مَعَها شَیْئٌ قُدُّوسٌ قُدُّوسٌ قُدُّوسٌ أَسْأَلُکَ یَا رَبِّ بِاسْمِکَ الطَّاهِرِ الْمُقَدَّسِ الْمُبارَکِ الَّذِی مَنْ سَأَلَکَ بِهِ أَعْطَیْتَهُ وَمَنْ دَعَاکَ بِهِ أَجَبْتَهُ أَسْأَلُکَ یَا اللہ یَا اللہ یَا اللہ أَنْ تُصَلِّیَ عَلَی مُحَمَّدٍ النَّبِیِّ وَأَهْلِ بَیْتِهِ وَأَنْ تُعافِیَنِی مِمَّا أَجِدُ فِی فَمِی وَفِی رَأْسِی وَفِی سَمْعِی وَفِی بَصَرِی وَفِی بَطْنِی وَفَِی ظَهْرِی وَفِی یَدِی وَفِی رِجْلی وَفِی جَوَارِحِی کُلِّها
Translation: In the Name of Allah, the Most Compassionate, the Most Merciful. In the Name of Allah, with whose Name present no illness can cause pain. I seek refuge in the words of God (Amir al-Mu'minin Ali (as) through to al-Mahdi (as), without interruption), with which present nothing can cause harm. He is Pure, He is Pure, He is Pure. I ask, O Lord, by Your Name (that is, the name of Ali (as)), which is purer than pure and blessed, such that whoever asks You by it, You grant him, and whoever calls You by it, You hear him. I ask You, Ya Allah, Ya Allah, Ya Allah, that You send down blessings upon Your Prophet Muhammad (s) and his Ahl al-Bayt (as), and that You save me from the illnesses that are in my mouth, in my head, in my ears, eyes and stomach, and in my back, and in my hands, feet and all my limbs.
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).
Insha'Allah, healing will be granted.