Crud that builds up in the pipe is probably something like an iron bacteria. The well probably needs to be shocked with chlorine, but it is very hard to get the pipe cleaned out. If you let it dry well sometimes the crud will break up and fall out when banging on the pipe.