Hey Larry!
The quality of the inner components really depends on where you bought the hover board, but it seems like you have a faulty gyroscopic sensor (the sensor that determines the orientation of the hover board). Something I would do before trying to fix it would be to turn it on and let it run until the battery dies. After that, charge it to full capacity and see if the problem is fixed. If not, contact the retailer and see if they have replacement parts for sale.
Good luck in your endeavors!
- Austin