How can i safely sale my Xbox one s with a few games?

I have an xbox one s that i hardly ever use. I recently build a gaming computer and found out that any game you can get on xbox i can get on pc. So know i have no use for it. I was thinking about selling it and buying a ps4 since the new game days gone you cant get on pc. How can i safely sale my xbon one s?
4 answers 4