Determine that fields in database were update btetween reading and updating them

I develop an application in Delphi / MSSQL
How to determine that the fields I want to update was updated by other user
between the moment I read them and the moment I want to write them.

Thank you