When your washer or dryer has done its last load of laundry, you'll need to replace it. And that usually means you'll need an appliance removal service, as well.
If you're lucky, your retailer for your new machine will take the old one for you. But, if not, you've got to get rid of it yourself. Somehow...