replace the window or repair any broken panes, gaskets, or seals that allow rain to get inside and form mold on the window frame or sill. If the window isn’t repairable, you’ll need to replace it.
and if you do need to make a full window replacement, it's worth considering the idea of upgrading to a better window. Read ...