Chosen Solution

when i try to switch on my ipad apple logo comes home screen comes and then it switches off by itself.

This could be caused by a dead battery. Did this start happening all of a sudden or was it following a drop or repair? Either way, this iPad will have to be opened. iPads are not the easiest device to troubleshoot and you will likely need to get a replacement battery to properly test the device. Check out this guide to see if you are up to it. Otherwise, you could consider bringing it to a repair shop or to Apple.