My iPhone 4 is on charge but isn't working. I replaced the battery then it started to work fine. It went flat so I put it on charge, it then came up with the apple logo and stayed on that for about a minute then the screen goes black. It does this multiple times and won't turn on properly. Please someone help