Whenever something goes wrong in the house or with anyone in my family, I think that it is caused by a magic spell. How to counter magic and ensure that it will not affect us.

Magic exists, since it is mentioned in the Qur’an. Yet magic has no substance. It is a trick played on human mind so that a person thinks that he sees something when it is not there, or he might not see something when it is there. Yet magic is not commonly practiced anywhere, because only few people are adept at it and they treat it as a secret they want to guard. Such people are normally unstable, or are motivated by greed and other obnoxious feelings.

Anyone who is leading a normal life is unlikely to ever meet a person who practices black magic. Hence, you should not worry about what is happening around you. Remember that life is a series of adversities that are interspersed with delightful moments. This is natural because life is a test, and tests are meant to involve difficulties. When you meet a certain difficulty, you should always seek God’s help to overcome it.

As for help to overcome the effects of magic, should one be ever exposed to it, reading the last two Surahs of the Qur’an is very effective. The thing to remember, however, is to read them with strong conviction of their meaning and their effectiveness.

Added

Here is a paragraph from the commentary by Sayyid Qutb – Translated by Adil Salahi

The Surah, the Day break —Al-Falaq, along with the following one, Mankind — Al-Naas, contains a directive from God primarily to His Prophet, peace be upon him, and secondarily to the believers at large, to take refuge in Him and seek His protection in the face of any source of fear, subtle or apparent, known or unknown. It is as if God — limitless is He in His glory — is unfolding His world of care, and embracing the believers in His guard. He is kindly and affectionately calling on them to resort to His care through which they will feel safe and at peace. It is as if He is saying to them: I know that you are helpless and surrounded by foes and fears. Come to Me for safety, contentment and peace. Hence, the two Surahs start with, “Say, I seek refuge in the Lord of the Day break,” and “Say, I seek refuge in the Lord of mankind.”