Asalaamu alaykum and thank you for your question.
To start with, there is no reason to be “afraid” of Jinn and black magic. As mentioned in a previous post, Jinn are creations of Allah and are subjected to Him, and black magic can’t overpower God’s will.
That being said, yes, some things should and can be done to protect ourselves from these issues.
But How To Protect Myself?
Allah Almighty and His Messenger have already taught us what would protect us from jinn/evil whispers/magic and any form of evil.
If and when we follow the prescribed cure from Qur’an and Sunnah with faith and conviction, then know without a doubt that there is no harm that could overpower Allah’s Powerful Words.
The creations are not more powerful than their Creator.
Among the recommended verses and adhkar are:
Recite the Three “Qul”‘s
Surat Al Ikhlas, Surat Al Falaq and Surat An-Nas should be recited three times at dawn and dusk to protect you from everything.
Abdullah bin Khubaib (May Allah be pleased with him) reported:
“The Messenger of Allah (peace be upon him) said to me, “Recite Surat Al-Ikhlas and Al-Mu’awwidhatain (Surat Al-Falaq and Surat An-Nas) three times at dawn and dusk. It will suffice you in all respects.” [Abu Dawud and At-Tirmidhi].
Also, Abu Sa’id Al-Khudri (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) used to seek protection against the evil of jinn and the evil eyes till Surat Al-Falaq and Surat An-Nas were revealed. After they were revealed, he took to them for seeking Allah’s protection and left everything besides them. [At- Tirmidhi].
Recite the powerful Surat Al Baqarah
The Messenger of Allah (peace be upon him) said,
“Recite Surah al-Baqara, for to take recourse to it is a blessing and to give it up is a cause of grief, and the magicians cannot confront it.” [Sahih Muslim]
He (peace and blessings upon him) also said:
“Do not turn your houses into graveyards. Satan runs away from the house in which Surat Al-Baqarah is recited.” [Muslim].
You can recite Surat Al Baqarah daily until you feel better, after that, you can make it a habit to recite it every three days. In all cases, your house should have Surat Al Baqarah being recited in it every three days.
Also, take note of the final two verses of Surat Al Baqarah regularly.
The Prophet (peace be upon him) said:
Indeed Allah wrote in a book two thousand years before He created the heavens and the earth, and He sent down two Ayat from it to end Surat Al-Baqarah with. If they are recited for three nights in a home, no Shaitan shall come near it. [Jami` at-Tirmidhi]
Recite Ayatul Kursi
Narrated ‘Abdullah bin Mas’ud,
“Allah has not created in the heavens nor in the earth what is more magnificent than Ayat Al-Kursi.” Sufyan said: “Because Ayat Al-Kursi is the Speech of Allah, and Allah’s Speech is greater than Allah’s creation of the heavens and the earth.” [Jami’ AtTirmidhi]
Also recite Ayat-ul-Kursi upon going to bed as we learn from the hadith that whenever you go to your bed, you should recite the Verse of “Al-Kursi” (2.255) for then a guardian from Allah will be guarding you, and Satan will not approach you till dawn. [Sahih Al Bukhari]
Recite Surat Al Fatiha
Also, Ibn ‘Abbas (May Allah be pleased with them) reported:
While Jibril (Gabriel) was sitting with the Messenger of Allah (ﷺ), he heard a sound above him. He lifted his head and said: “This is a gate which has been opened in heaven today. It was never opened before.” Then an angel descended through it, he said: “This is an angel who has come down to earth. He never came down before.” He sent greetings and said: “Rejoice with two lights given to you. Such lights were not given to any Prophet before you. These (lights) are: Fatihah-til-Kitab (Surat Al-Fatihah), and the concluding Ayat of Surat Al-Baqarah. You will never recite a word from them without being given the blessings it contains.” [Muslim]
Recite the adhkar daily
We should remember to recite the adhkar (supplications and remembrance of Allah) taught to us from Prophet Muhammad on a daily basis.
The morning and evening adhkar shield and protect the person daily from different types of harm. Neglecting them, accordingly, breaks this shield and makes one more vulnerable to evil of different sorts.
Among the supplications recommended by the Prophet (peace be upon him):
“‘A’udhu bikalimatillahit-tammati min sharri ma khalaqa” (I seek the protection of Allah’s Perfect Words from the evil of whatever He has created.)
Another supplication to recite:
Narrated Abdullah ibn Amr ibn al-‘As: The Messenger of Allah (peace and blessings upon him) used to teach them the following words in the case of alarm: “A`ūdhu bikalimātillāhit-tāmmati min ghadabihī wa `iqābihī wa sharri `ibādih, wa min hamazātish-shayātīni wa an yahdurūn” (Meaning, “I seek refuge in Allah’s perfect words from His anger, the evil of His servants, the evil suggestions of the devils and their presence.”)
Follow Angel Gabriel’s Example
You can use the ruqyah that Angel Jibril performed on the Prophet (peace and blessings upon him).
Abu Sa’id Al-Khudri (May Allah be pleased with him) reported:
Jibril (Gabriel) came to the Prophet (peace and blessings upon him) and said: “O Muhammad! Do you feel sick?” He (peace and blessings upon him) said, “Yes.” Jibril supplicated thus (i.e., he performed ruqyah): “Bismillahi arqika, min kulli shay’in yu’dhika, min sharri kulli nafsin aw ‘ayni hasidi, Allahu yashfika, bismillahi arqika.”
[With the Name of Allah. I recite over you (to cleanse you) from all that troubles you, and from every harmful mischief and from the evil of the eyes of an envier. Allah will cure you; and with the Name of Allah, I recite over you]. [Muslim]
As you can see, this issue is simple, insha’Allah, and the Words of Allah suffice perfectly; they are the ultimate cure.
I hope this answers your question.