If the glass is off-track, simply put it back into track. If the track is broken, buy a new track. If the track looks fine but it won't move up and down, you might need a new window motor.