After you file

You have to start amending with the earliest year in error, then use the resulting Form 8606 for the next year.

 

@aayush246