Hey blockboy21814, you should download iFunBox (Google it, it'll be the first link) and watch this video on how to back it up as well.
EDIT
-Since you said that it turns on to the lockscreen when you plug it in the charger you should be able to back it up fine with iFunBox. However, if it's stuck on an apple loop while it's charging and you can't boot it up to the point where you see the lockscreen then you have no other option but to put your device under recovery mode and restore.
-After you back up, I'd recommend that you follow what PhoneOpsPlus said at his post at the bottom. That is only if it does the same thing after restoring.
-Let me know how it goes.
-Please accept this as the answer if it answered the question.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2944067:02crwdne2944067:0
Hey thanx!! But would this work for me even though I can't access the phone because it turns on and off while on the Apple logo
crwdns2934271:0crwdnd2934271:0 blockboy21814 crwdne2934271:0
Hey blockboy21814, please see my edit.
crwdns2934271:0crwdnd2934271:0 iApple crwdne2934271:0