My tab goes off and on automatically after every 5 seconds!! what do i do?
Welcome to Android Central

Pull the battery out of the tablet.
Boot into recovery mode (home + power + volume up) and use the volume buttons to navigate to "wipe cache partition" and use the power button to select the option.
If that doesn't work, try the factory reset option in recovery mode as well
Sent from my Galaxy S4 running SlimKat 4.4.2