I think I have unconsciously fallen in love with a non Muslim woman. It is affecting my spiritual and mental progress. For instance, if she doesn’t respond to my message, it gives me anxiety. How do I get out of this?

1- Be patient. This will take some time, but Allah will help you to move on.

2- Completely stop communicating we her. Deleter her number or account. Also delete your account if that’s the only way to stop you. Be strong and resist. It will be hard in the beginning but then you will be relieved. Avoid thinking about her as much as you can, and anything that reminds you of her.

3- Do sujud for several minutes each night and with a deep breath each time say: سبحان ربي الاعلى وبحمده (subhana rabbial a3la wa be7amdeh)

4- Before sleeping, say 100 times لا اله الا الله (la ilaha illa allah) and take a deep breath each time

5- Put the Qur’an on your heart and recite verse 82 of Sura al-Israa:
‎وَنُنَزِّلُ مِنَ الْقُرْآنِ مَا هُوَ شِفَاءٌ وَرَحْمَةٌ لِّلْمُؤْمِنِينَ

6- Read this Dua daily:

7- Everyday pray 2 rak’as like the morning prayer, then when done gift it to Imam Mahdi. Say O Allah I offer this prayer as a gift to Imam Mahdi. Then talk to Imam Zaman and ask him to help you with this situation. This prayer is very effective

8- After the morning prayer, put your hand on your heart and say 70 times يا فتاح (ya fatta7)

May Allah facilitate it for you.