I had a similar issue with my private well.
I don't know if it's right, but I dumped some bleach into the well and circulated it for a while, then purged all my lines.
It smelled like a swimming pool for a while, then it didn't smell for about 3 months, then it started smelling again.
Mine was...