Seal the edges with the trim with latex caulk, ensuring to prevent covering the weep holes. Fill any visible nail holes with Wooden putty and paint the trim as essential. Will not fill the gap in between jamb and framing with far too much foam way too rapidly. Or else, https://images.google.com.bo/url?q=https://www.alexandriahomesolutions.com/windows