Though not the most practical solution, shocking your well with chlorine bleach can be effective for getting rid of bacteria. However, this isn’t a guarantee that bacteria in the ground water or pipes won’t grows back. Be advised that chlorine can give water its own objectionable chemical taste and odor which can cause its own related health issues.