If the matrix is symmetric then for each repeated eigenvalue (= root of the characteristic polynomial) there will be as many linearly independent eigenvectors for that eigenvalue as the multiplicity of the root. Choose an orthogonal set of such eigenvectors.