My HTC desire 510 only turns on to logo

A

AC Question

My HTC desire 510 will only turn onto logo, it just randomly did it a couple days ago. I woke up and got on my phone, and the screen kept flashing and switching between my background picture, to the default wallpaper. I take out the battery and turn it back on, and it wouldn't turn on. i tried hard reseting it, looked up how to fix it, and it told me to hard reset it. Please help me. What should i do?