Android Question

Ok, so this phone has been used before working properly and then yesterday I recently put in a lock pattern, and in the morning when I tried using it the screen was not responsive. I tried hard reset but all it shows is the android logo laying down his chest open and a red triangle with an exclamation point in the middle, and it doesn't show nothing for resetting it, then the phone boots up again. I really need help!