Flexibility training can be done before or after the main workout. Before the workout, it serves as a warm-up phase to prepare the muscles and joints. After the workout, it can be used as a cool-down to relax the muscles and promote flexibility.