You need to restore a previous version of a document on OneDrive, possibly comparing versions before choosing.
Or Version History is not available.
Use the Version History option by right-clicking the document you wish to use it on.
Or enable Version History in Settings.
Following this link will guide through the process of Enabling File Versions with OneDrive, and through restoring and comparing versions.