Remove old caulking with a putty knife or a flat-edged tool. Insert the putty knife under the caulk and carefully pry off the caulk using gentle pressure.
Wash the window with a mild detergent solution. Dry the window thoroughly and check for any remaining caulk.
Select a caulk designed for sealing around windows. Cut off the tip of the caulk tube at a slight angle to produce a caulk bead 1/4 inch wide. Push the end of a cut coat hanger into the tube hole to break the seal. Insert the tube into a caulk gun.
Press the tube tip into the corner next to the window. Pull the gun trigger to produce a steady and even flow of caulk from the gun, and drag the caulk bead along the window. Keep a damp cloth handy to wipe drips from the tip.