You don't and never will
Your iPad is too old.
Sorry.
The 2013 iPad Air 1 ( “A” model number A1474/1475/1476 ), iPad Mini 2 ( “ A” model number A1489/1490/1491 ) and the 2014 iPad Mini 3 ( “A” model number A1599/1600/1601 ) cannot upgrade beyond any version of iOS 12, currently at iOS 12.5.6.
Sorry.
These iPad models have overall internal hardware that is too old, too underpowered and incapable of running all of the new, advanced and internal hardware resource intensive features of iPadOS.
These iPad models are 8 and 9-years old, now, in 2022.
Sorry.
Apple in its wisdom, issued a VERY recent security update to all 8 and 9-year old iOS 12 devices that patches the same security breach that affected all iPadOS 15 devices.
Third party app support, typically, continues for 2-3 years AFTER Apple ends full support of a subset of their devices.
The last major update to iOS 12 was in 2019, with iOS 12.3.
Apple has stopped issuing any major iOS 12 updates for these very old iPad models and have been ONLY issuing security, “point” updates for the past few years.
So, it has been well over two years, already, and third party app support has been on a steady, downward trend for all iOS 12 supported devices.
Look for many more third party apps dropping support for all iOS 12 supported devices as the 2022 year progresses to its end.
The immediately above statement is what you really need to worry about.
In addition, the internal, rechargeable batteries in these old iPads are, also, running on borrowed time.
Not worth the costs to replace these old internal, rechargeable batteries in these old iPads, any longer, either.
Also, these very old iPad models have NO real trade-in nor any resale value, either.
Sorry.
There is one last thing you can try/attempt, if you need to recover older versions of apps, for old or older, aging iOS devices.
If you own another much newer iOS device that can run iOS/iPadOS 13 and later, you can install the most recent version app/s onto that more recent iOS device.
Then go back to your older iPad, open the iOS App Store, go to the Purchases section of the store app, search for the app/s you wish to try and download to that older iPad and see if an older version of the app is allowed to be downloaded/installed to that older iPad.
These newer iOS/iPadOS devices must use your same Apple ID user account and password.
This does NOT mean that every app in the iOS App Store still has an older version of an app that is still compatible with iOS 12 to be able to download/install, per my previous comments on this.
So, Failing that OR IF NO joy, then there is nothing more to be done.
It is nearly the Fall of 2022, now.
iOS/iPadOS 16 will soon be released from Apple!
These 8 to 9-year old, iOS 12 iPad models are coming to their end of life.
You really need to seriously consider a purchase of a new iPad model OR a much, MUCH “newer” and less expensive, refurbished or used iPad models, from better known, trusted sources, like other Apple product/device retailers/resellers, some locally or from online, on the Web/Internet, capable of running the latest iPadOS versions.
There are PLENTY of newer, older iPad models that can run the latest, current versions of iPadOS.
If you need OR ONLY able to purchase older, less expensive iPad models, look at older IPads from 2015 and later.
All of these older model iPads below CAN, currently, run the latest releases of iPadOS 15 and the up and coming iPadOS 16, releasing sometime in the Fall of 2022.
2015-2017, 12.9 inch screen iPad Pro models. ( 1st gen Pencil support )
2017, 10.5 inch screen iPad Pro models ( 1st gen Pencil support )
2017, 9.7 inch screen iPad 5th gen models ( NO Pencil support )
2018, 9.7 inch screen iPad 6th gen models ( 1st gen Pencil support )
2019, 10.2 inch screen iPad 7th gen models ( 1st gen Pencil support )
2020, 10.2 inch screen iPad 8th gen models. ( 1st gen Pencil support )
2018, 11 inch or 12.9 inch screen iPad Pro models ( 2nd gen Pencil support )
2019, 10.5 inch screen iPad Air 3rd gen models ( 1st gen Pencil support )
2019, 7.9 inch screen iPad Mini 5th gen models ( 1st gen Pencil support )
Get the largest internal data storage model you can afford as NO Apple iOS device has ANY expandable storage.
I am sorry that you had to learn all of this, but this does not change any of the facts regarding these older iOS devices.
Sorry & Best of Luck to You!