Get field value from before field value changed

I am trying to write a script triggered by a record update. I want the script to compare the value that was in the record before the change to the changed value. Depending on what the value was before to what it is now I’m going to do different things. Is there any way, within the automation scripts, to get the field value before the change happened? I have a feeling this isn’t possible but maybe someone knows away.