Dynamic of threshold solutions for energy-critical wave equation