How to revert changes made in an asset?

Sorry, I have no idea how Python works in UE.