Hi abid74,
We appreciate you reaching out to us. We understand that you are experiencing battery life issues on you iPhone X, and you would like to know if you should have the battery changed.
First, we'd like to set your expectations.
Based on the limited details you've provided, it would be challenging for us to provide an accurate answer.
We recommend that you look into the articles below.
Maximizing Battery Life and Lifespan
iPhone Battery and Performance
If the issue persists after trying the steps and tips in the articles above, we recommend that you reach out to us here so we can take a closer look into the issue: Get Support
Take care!