to get rid of
Verb + preposition (or no preposition)
He got rid of the old clothes before moving.
—Did you sell the car? —Yes, I got rid of it last week.
It is time to get rid of those bad habits.