Make sure that any passwords or stored credit and debit card numbers are removed. Unpair any outside devices such as Bluetooth headphones, a smartwatch, speakers, etc.
You may also disinfect your device before selling or trading. This can be done using alcohol-based wipes or sprays, containing 70% alcohol.