You can just return your defective iPad back to the place you purchased it from.
Apple has a 14 day return policy for any of its products.
Get another new iPad. It’s rare to get a sealed product that turns out to be defective.
Ask to fully test the new, replacement iPad in the store, first, before heading all the way home with it, just to confirm it is OK.
Good Luck to You!