Alarm systems

I have 2000 maxima. It sat for awhile and the battery went dead. I unhooked the cables cleaned the posts and charged the battery,but every time I put cables on the alarm goes off.What do I do to stop this?

Your owners manual will presumably tell you how to turn the alarm off. If you have a remote controller, use it. You may be able to stop the alarm simply by putting the key in the ignition and turning it on.