I heard that jinns can sometimes mess with us or play pranks to us and this would be the explanation for the feeling of fear and anxiety that some might feel at night or when they’re alone (feeling that someone is watching or is about to grab you)? (I apologize if this question or this subject is a but childish). Lastly, if that’s the case, what are some actions we can do to counter that.

Jinn are mentioned in the traditions, and there are means by which we can safeguard from them. But it is not known that they play pranks or can physically change things to bother us. There is no reason to believe they are affecting you mentally or otherwise