Lay out a drop cloth against the wall under your window. Scrape away any loose paint or debris with a 5-in-1 putty knife. Fill any holes in the window frame with wood putty.
Locate the 1/4 angled mark on the tip of the caulk tube. Cut along this line to obtain a 1/4-inch hole in the tip. Slide the 8d nail into the hole, and press to puncture the diaphragm inside the tube. Remove the nail, wipe it clean with a wet rag, and set it aside for use on the next project. Load the tube into the gun, and twist it so that the longest point of the angled tip is aligned with the top of the gun. Squeeze the trigger until caulk exits the tip, press the pressure release button and wipe the tip clean with a wet rag.
Place the tip of the tube of caulk at one end of a seam, pull the trigger and drag the gun along the joint leaving a bead of caulk along the entire seam. Press the pressure release button, pull the gun away from the seam, wipe the tip clean and put the gun aside for use on the next joint. Push your finger into one end of the bead of caulk. Drag your finger down the length of the bead to press the caulk into the seam, and smooth the surface of the caulk. Wipe your finger clean with a wet rag. Caulk every seam between the window frame and glass on the inside and between the frame and drywall on the outside. Keep your hands and tools clean during this process to insure uniformity of caulking throughout the window. Allow the caulk to cure for 1 hour before paint is applied.
Apply tape to the perimeters of the window where the frame meets either glass or drywall. Wipe the window free of debris and residue with a dry rag. Apply a light coat of paint to the window frame. Allow the paint to dry for 1 hour before proceeding.
Apply a heavy second coat of paint to the window frame. Allow the second coat of paint to dry for 1 hour. Remove the tape from the glass and drywall. Clean and dry your caulk gun, paint brush and knives, and store them for the next project.