Unplug the battery for about five minutes, and then re-connect it. Usually stops the beeping if the battery is not bad.
If the battery is more than five years old, consider getting a replacement at any place that sells a similar battery. You can also silence the beeping by keeping the battery disconnected in most cases.