The afterlife of solar panels

Where do solar panels go when they are no longer useful?