Has anyone had this problem with their phone?

So I lost my Android phone several weeks ago and my dad ordered me a new one off Amazon and it was acting fine at first. It's an iphone SE. I think it's the first gen? It still has a button on it. Anyway I did drop it last weekend when I was at work, but I had a good case on it. But it started turning off and back on by itself. It stopped doing that the next day and was acting fine all this week, I've been trying to be careful not to drop it, cause I know how fuckin fragile iphones are. Well I dropped it again yesterday, again with the case on it, and now it's doing the same thing and it won't stop. We're going to return it to Amazon. It does have a pretty good size crack in the back of it. Like it looks like the impact point was in the bottom corner of it and it radiates out in different directions. I'd take a picture in the mirror of it but it switches on and off so much I'm using the computer for now. :'). Like I can watch two TikTok clips and then it'll shut off. Oh and before the audio was skipping as well but it's not doing that anymore.

Has anyone had this problem with their phone?
Post Opinion