Depending on where, and what material, it is possible to clean/repair water pipes. It may make more sense to replace them in some situations.