Filed extention

I received a 1099 for 2022 I have some prior years that I wasn't able to file due to tragedy and unexpected expense. Does 2022 if owed any amount in the prior years will that be affected in 2022 if again money is owed or is each year separated