Iphone deleting and restoring photos/touch is messed up
So it started about a month ago, i think when my father bought me a bad charger and everything started getting messy. I have around 20,000 pictures,my phone basically deletes them then restores them and sometimes it shows the pictures as grey boxes too,also my touch is messed up it clicks on different stuff on its own, opens and closes applications on its own. Also, my iphone wouldnt update to iso 10 and when i try to back it up it says backup incompatible. I am on ios 9.3.4 and its an iphone 6 Did anyone ever face this problem or have an idea how to fix it?I am starting to think that my battery is messed up and this is all happening because of it but i don't really know,i have read about a couple of people saying that hard resetting the phone might work but i thought asking first would be better.
Any help will be greatly appreciated,Thank you