Howdy David, and welcome to the Ram ForumZ. I encourage you to stop by the Newbie Checkin
section and introduce yourself so other members can give you a proper howdoyado.
There are several threads on here about fobs going bad and the fixes. The best one I've seen is to take the fob apart, use an eraser to clean the metal under the buttons and put it back together.