Chosen Solution

I dropped my phone on the back and the flashlight and front camera didnt work, got it replaced and it was fine. A few weeks later I shattered the screen and got it replaced but not by an actual business. The screen inverts sometimes, the touch to wake is iffy, and recently the display stopped working. It started working again but now my phone will say it’s charging but it will not actually charge. I honestly don’t know if I should just buy a new phone at this phone. It also rattles so I feel like something may be loose. Any recommendations on what to do?

Who replaced the screen? Are they trustable and did they use high quality replacement parts? That’s what stands out the most in this ordeal. For the screen-related issues, it could just be a cheap replacement screen. The charging issues could be caused by a poor repair attempt or by the two impacts to the phone. The iPhone X is particularly sensitive to drops as the logic board is quite flimsy and the device is relatively heavy. You should have this looked at by a reputable repair shop, preferably one that does micro-soldering as they can do a deeper level of diagnostics.