Please reference our Disinfecting a Flooded Well page.
Although the page references floods, the guidance provided about shock chlorination is applicable to any other scenarios which require disinfection of a water well.
Please remember to utilize National Sanitation Foundation Standard 60 certified bleach. Not doing so will create other water quality problems.