You do not simply purchase a new screen for iPhone X as your question implies.
Instead, you visit an Apple Store or Authorized Apple Service Center and let them service your screen.
iPhone Service Pricing - Apple Support
Screen repair (in the U.S.) would cost US$279. If there is additional damage, it would cost US$549.