bro , in every case the ground realities and conditions are different , so things are dealt accordingly .
most common conditions where these things get into an encounter with you are .
You go and enter their territory , and they get upset , in this case you can try to push them back and do some political stuff with their higher authorities . sometimes they agree to leave whiles most of the times they dont listen , and keep creating havoc until you leave their territory .
You do something wrongful to them unwilingly ,
a lot of examples are set in this case , especially when some had went for a leak near some tree , or you dont mnatain cleanliness while sharing their territory , they come forward to either punish you or warn you some how .
now here it depends which faith s the opposing party , if muslim , things can be negotiated , but if not , the opposing party might demand acts of kufr from you to leave you alone . in such cases , they follow you around . till what extent ,
it differs ,
cases are known where these things have followed in mecca and medina , and cases are there when these things have returned after you leave mecca and medina . i suppose the divide comes from the fact of the Jinn being satanic or a muslim . ( Allah knows best )
3. some one sent them by casting black magic on you , to create unrest for you .
now this is the most tough and challenging situation , because most of the times , the opposing party is bound and enslaved to a black magic practitioner . and is bound to do what is told . in this case they mostly follow you . where ever you go ,
what solutions lies here , thats above my knowledge .
Amils are an option , but 99% of them would use kufr to solve the problem , ( because it is easy to make the otherr party understand and negotiate on terms while being in the same league )
and then there are Jaali amils ...
roohani ones are non existant . who have sound expertise in dealing matters like these and they dont step outside the circle .
banda ayat kursi parhay , 4 qul parhay , aur bas ,
protection is better than cure . while doing sabr is better then doing kufr .