The word "deteriorate" means to become worse, to decline in quality, or to fall into a state of disrepair. Some other words that have similar meanings are "to erode", "to crumble", and "to rot". You might say, "wow this pipe needs to be replaced. It is clear it has started to deteriorate over the years."