Riddle

When somebody want’s me they throw me away but when somebody don’t wants me they take me. What am I?