The eightfold path is the way to the end of suffering. Its eight factors are grouped in three trainings: wisdom (right view and intention), ethics (right speech, action and livelihood) and concentration (right effort, mindfulness and concentration). They are developed together, not one after another.
Noble Eightfold Path
The fourth noble truth: right view, intention, speech, action, livelihood, effort, mindfulness and concentration.
Also: Eightfold Path