Back up your device

How to back up your device before trading in or returning it