According to the Qur’an, a true Muslim should refer to scholars to get himself well-acquainted with the sound image of Islam. In the first place, we want to make it clear to you that every Muslim is ordered to believe in the Supreme Power of Almighty Allah, that He is the Controller of everything. We have to let that faith repose in our hearts, with full conviction that when sick, we have no hope of recovery save from Him, that is why we all (even nonbelievers) turn to that Absolute Power, Almighty Allah, imploring Him to grant us quick recovery.
however, with such belief, we are also ordered to exert efforts, to make use of every means available. When sick, we need to consult physicians and take medication. This is in compliance with the Prophet’s order: “Allah has sent down the disease and the cure, and for every disease there is a cure. So take medicine but do not use anything haram (unlawful) as medicine.” (Reported by Abu-Dawud)
Moreover, as a Muslim’s life is composed of both physical and spiritual aspects, he is urged not to neglect any of these aspects. This brings us to the issue in question, tackled in the following fatwa, rendered by Sheikh `Abdel-KhaliqHasan Ash-Shareef, a prominent Azharite scholar:

Islam teaches us many things that avail in the field of healing people. A person should bear in mind firstly that it is Allah Who has the power of healing all people. No one has this power except Him. In addition, the Prophet (peace and blessings be upon him) urged us to recite some supplications in case one falls victim to illness. He (peace and blessings be upon him) used to say every morning and night: “I seek refuge in the Perfect Words (The Glorious Qur’an ) of Allah from evil of what He has created.”

The Prophet (peace and blessings be upon him) used to recite AyatAl-Kursi so as to protect himself against evil eye or the spell of magic. The Qur’an itself provides a fountain of healing and everlasting protection for every human being. Almighty Allah says: [And We reveal of the Qur’an that which is a healing and a mercy for believers though it increases the evil doers in naught save ruin.] (Al-Isra: 82)