Go to Settings-> General-> Software Update to see if your iPhone X needs a software update. If an update is available,
a notification will appear.
Always make a backup of your iPhone data before downloading and installing an update. Some upgrades instantly overwrite the iPhone's current settings, resulting in the loss of any personalized preferences.