Abu Dawud(RA) 28, Number 3874:
Narrated Abdullah ibn Mas’ud(RA):
Zaynab (RA), the wife of Abdullah ibn Mas’ud, told that Abdullah said: I heard the Apostle of Allah (peace_be_upon_him) saying: spells, charms and love-potions are polytheism.
I asked: Why do you say this? I swear by Allah, when my eye was discharging I used to go to so-and-so, the Jew, who applied a spell to me. When he applied the spell to me, it calmed down.
That was just the work of the Devil who was picking it with his hand, and when he uttered the spell on it, he desisted.
All you need to do is to say as the Apostle of Allah (peace_be_upon_him) used to say,
“Yaa Allah,Remove the harm, O Lord of men, and heal. Thou art the Healer. There is no remedy but You which leaves no disease behind.” Ameen