open it up and clean its board and the under side of the buttons with rubbing alcohol and Q tips.

if the battery was dead for a long time you may need to re program the fob to the car.