2002 s340 benz

My battery died..my driver side window works one min.and doesn't the next..what cani do