Your options are limited. The only remedy is repair.
You might be well advised visit the Genius Bar at your local Apple Store or Apple Authorised Service Provider (AASP) where the technicians will be able to assess the iPad - and you can explore your available options:
Genius Bar Reservation and Apple Support Options - Apple
Apple also has a mail-in repair service;
Apple Service and Repair for iPad - Apple Support
Considering the age of your iPad and its likely high cost of repair, you might be better off replacing your iPad with a much newer or current model. While a new iPad might cost more than a repair (assuming that a repair is even an available option for your current one), you’ll gain access to a much more recent version of iPadOS (currently iPadOS 26) which offers improved capabilities and performance.
For practical purposes, in lieu of repairing and returning your own iPad, Apple usually exchange the iPad for a renewed/refurbished iPad of the same model and specification. The cost of the exchange is the same as would otherwise be charged for repair. Unless you have benefit of an active AppleCare plan, an out-of-warranty repair while expensive will be somewhat less than the cost of a replacement iPad.
As for out-of-warranty repair costs, Apple offers a fixed-price price repair. You can verify eligibility and cost for your region/country here:
iPad Repair & Service - Apple Support
If you have an active AppleCare+ plan, the cost of repair is reduced to a small excess/deductible fee.