I had bacteria in my well too. Even after the previous owners "shocked" it, bacteria came back. It's common. So I installed a UV filter. Change bulbs one per year, about $100.
Did this about 7 years ago. Everyone in house uses and drinks water daily. No issues.