1. Take the batteries out and clean the contacts with something like a feeler gauge to burnish them. Don't use an abrasive or you'll take the chrome off.
2. Bend the contacts out a little, if the remote gets dropped the impact can cause the contacts to get bent in so they do not apply firm pressure on the battery terminal.