بسم الله الرحمن الرحيم
All these seem to be disturbed thoughts, don’t worry about them. Make wudhu and read mu’awazatain (Surah Falaq and Surah Naas) and Ayatul Kursi before going to bed and blow over your body.
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.