try changing the battery in the key fob, possibly dry joint in the fob too, which you should see with a magnifying glass.
if you take the battery out for any length of time (>2 mins or so, not an exact science) or operate the buttons with the battery out, you may then need to resynch the fob to the vehicle.
good luck