Are you not using your bicycle battery for an extended period? If so, preferably store the battery with a charge level between 50% and 70%, in a dry place at room temperature.
Do not leave a battery completely empty for a very long period. This can cause deep discharge, which can permanently damage the battery.
Preferably, do not store a battery in frost or extreme heat for extended periods.
During extended storage, check the charge status every 1 to 2 months. Has the charge level dropped below 50%? Then charge the battery back up to approximately 70%.
Always use a charger that is suitable for the battery in question.