There is a E/bikeshop here that advertises that they will fix the battery, and it might depend on how many cell is bad for under $100.
This is in San Francisco.
I would weigh how old the battery is, how many times I have charged it or if replacing it I would look for a larger capacity battery.
But if funds are limited then I would get it fixed.