Your water likely contains a Sulfate Reducing Bacteria (SRB). These are not harmful. Just a smelly nuisance. Continuous chlorination is the solution. A drop pellet or a chemical feeder for liquid chlorine should be used to do continuous chlorination of the well water. You will likely also want a carbon filter on the drinking water to remove the chlorine.