So my phone went out of battery one day, and when i went home i plugged in the charger and it was not charging. I tried different outlets and they didn't work, but when i used the charging function on the USB it worked. When I had it charged I turned it on. I saw the Htc start up Flash once and then it went through the process of like the Beats, and the 4g LTE stuff. When i got to my homepage the phone was really laggy and when I enter my passcode my phone would just shut off. Sometimes it is so laggy I cant even drag the ring up. When I can't drag it up it just shuts off. After it shuts off it restarts and does it over and over again. Please help me with my problem.