How do you repair the rear window frame the bottom is rusted out?

The best would be to replace the whole frame with an aluminium frame, may be expensive but the frame will most probably outlive the building!!!!