When you sell an item accidentally, you can always use the 'Undo' button right after it. You can tap it and bring back your item.
However, if you click on another item, the undo button disappears, and there is no way to return the sold item.
Learn more about Mergedom: Home Design merge puzzle game.