My keyless entry remote has stopped working. on 2002 Jeep Liberty

I bought new batteries for my keyless entry remote and even bought a new one but it still doesn't work. Does anyone know what I would have to do to make it work?

Asked by for the 2002 Jeep Liberty