Locate the two vertical trim pieces on the inside edges of the existing window frame that secures the bottom sash to the window frame. Pry the pieces away from the window frame with a small pry bar. Remove the trim pieces.
Pull the lower sash window frame. Pry out the vertical trim pieces that act as a divider between the upper and lower sashes with a pry bar. Remove the pieces. Pull the upper sash from the window frame.
Push the replacement window into the window frame. Ensure the window fits snugly into the frame. Cut filler strips from pieces of scrap lumber with a circular saw if there are gaps between the outer edges of the window and the window frame. Remove the window from the frame and secure the strips to the frame with finishing nails, if applicable.
Center the window in the opening. Place a carpenter square on each corner of the window to ensure it is perfectly square. Insert small wood shims where needed between the outer edge of the window and the frame to square up the window, if necessary.
Lower the top sash of the replacement window and locate the mounting holes in the vertical edges and top of the frame. Drive 3-inch galvanized wood screws through the mounting holes into the existing window frame with a power drill that has a Phillips bit attachment. Raise the top sash.
Raise the lower sash and secure the window to the opening through the mounting holes in the same fashion. Raise and lower both sashes to ensure they operate smoothly.
Apply a bead of caulk to the interior and exterior of the perimeter of the replacement window where it meets the existing window frame.