iPhone 4 ticking when charging.

I recently replaced the battery on my iPhone 4 running on iOS 7.1.2 but it was turning fine for a few days but recently, the battery died and I tried the charge it but it starting ticking at around the top. Now whenever I try to charge it, the apple logo appears for a few seconds but turns off and ticks for a few seconds and the apple logo appears again and the cycle repeats when its charging. What do I need to do to fix my iPhone 4?

Block Image

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0