Measure the height and width of the door to be installed from the outer edges of the door frame.
Cut out the bottom plate of the frame wall to match the width of the door frame with a circular saw.
Measure the distance between the top of the bottom plate and the bottom of the top plate. Cut two 2-by-4 king studs to fit the space. Place the king studs 1-1/2 inches to either side of the opening in the bottom plate. Check plumb with a level and nail the king studs into the top and bottom plates at an angle.
Cut two jack studs to match the height of the door frame, less 1-1/2 inches. Place the jack studs even with the edges of the opening in the bottom plate, directly against the king studs. Nail the jack studs to the king studs with two 16d nails every 16 inches.
Measure the distance between the inside edges of the king studs directly above the jack studs. Cut two 2-by-4s to match. Nail these together, with the broad sides together, with two 16d nails every 12 inches. Place this header on top of the jack studs and nail it into the jack and king studs at an angle.
Measure the distance from the top of the header to the bottom of the top plate. Cut 2-by-4 cripple studs to fit in between. Place these every 16 inches across the top of the header and nail them in place at an angle.