Rework this paragraph to remove the grammar errors.
Going by train for example, you need to get to the next train station and afterwards from the destination train station to your target.
Going by train, for example, you need to get to the next train station and, afterward, from the destination train station to your final destination.