You can have your water tested for contaminants or hire a professional to inspect the condition and material of your pipes.