The Cherokee XJ engine immobiliser issue, tell me all about it.
There are many many threads on this over the internet, and many "rain dance" so-called solutions, with none of them offering any permanent solution to this.
I'm happy to go through all of it with you, since I spent many hours reading up on this immobilisier, but I suggest you spend some time reading the threads on this first (including mine
But put a new battery in the remote first, disconnect the battery for a while and try again, as a first step for now.