Replace the cover using the reverse process which was used to remove it. Once the battery has been replaced, the remote may need to be reprogrammed to operate correctly with the garage door. The manufacturer of the remote provides instructions for reprogramming, which can be accessed online.