Assalamualaikum , I have heard that kufr or disbelief happens through actions, words or beliefs and he will be a kafir if he do the following things and there is no priority whether he wanted to leave Islam or not My question is what is actually meant by unintentional and intentional kufr how it happens can you briefly tell the difference and rulling I done an act of kufr , at that time I had a thought not to do so I don't pay attention to the thought as I thought it was waswas happened to me and I done the act but later found it is kufr , does I will be out of islam Please answer Anybody please answer please read my comment too to see my situation please answer
Walaikum-Assalam, Your question is very unclear. But let me try. I think you are suffering from a guilt of doing something that is not acceptable in Islam. But I think something you are unaware of can't be accused. So I think it is not kufr. Just pray to Allah for forgiveness and stay calm. About 7-8 years ago I tried to practice black magic from internet(Nothing worked of course). But then I noticed that this was not good thing, and it is very specifically forbidden in Islam ,even if you want to use it for good. So I stopped and started to practice religion. I hope you can find a way too.