Anyone have any Ideas of Controling the Updating of records in a multi user environment??

Let say User A Modifies Record 1
and User B also Mofifies Record 1

User A saves the record first and followed by User B.

User A changes will be overwriten.

How to design a better way to Control this kind of situation?