Clear the cache of the Xbox One system, as described below:
Power down your console, then unplug the power cord from the back of the Xbox One. Wait two minutes, then plug the power cable back into the back of the Xbox One and monitor the power brick, waiting for it to cycle from white light to orange, and then turn the power on. This will perform a hard restart of the system.
Please note that the above is for the regular Xbox One console - clearing the cache may be different on the X and S versions of the console. Consult Microsoft Support for more information, please.
If you are still experiencing crashes or freezes after performing the above steps, delete the game completely and re-install it, making sure you have stable internet connection during and after the installation process, so that the game's large critical updates can be downloaded and successfully applied.
NOTE: The above procedures will not delete your progress.