You can follow these step while facing turn on and off issues:
1. Soft Reset - do a soft reset which should help you restart the tablet without getting stuck on the logo screen. Every device has different soft reset method.
2. Charge your device - There sometime happen that your device powered off due to battery died. Check if your device is able to power on completely or not. switch off your device and charge it for sometime.
3. Use a different charging method - If your tablet’s charger is not working, thwn you can charge it by using USB cable and connect to your computer.
4. Reinsert the battery - Pull out the battery , waiting for seconds and then reinserting the battery.
[br]