Prophet Muhammad ﷺ said:
"Place your hand where you feel pain in your body and say Bismillah three times. Then say seven times:
I seek refuge in God and his power from the evil I encounter and beware of it.
Aʿūāṭha ḥayī wa kwādratihi min shari ma ajido wa ahādhiru.
"I seek refuge with Allah and in His power from the evil that I find and of which I fear. ".
- Sahih Muslim 2,202.
A beautiful prophetic supplication that teaches us to turn to Allah ﷻ in times of pain and seek His protection and healing. Along with seeking appropriate medical treatment, never underestimate the importance of dua and reliance on Allah.