If your Amiga 500 has a memory expansion in the trap door underneath, please remove it and check if it has a Barrel type battery. Check that it has not leaked and even if it has not leaked i would still remove it. If it is a coin shaped battery that should be fine and there is no need to remove it.