Stretch a tape measure from one side of the door opening to the other and note the measurement. Locate a 2-by-4-inch board that is approximately the same length, or cut one to the proper length using a hand saw.
Turn the board on its side and place a level on top of it. Tape the level firmly to the board so it will not fall off.
Insert the board on the floor inside the opening for the door. Look at the top of the level to locate the air bubble, which will center when it is even. Insert a wooden shim under one end of the board until the air bubble centers.
Place a tape measure at the bottom of the board just above the shim and measure down to the floor. Write down the measurement, which indicates how much you must trim the door jamb side.
Set the board and level aside and lay the wooden door frame on the ground. Locate the side that will be opposite the one where you had the shim and measure up the proper distance to cut it, marking the location with a pencil. Put on protective goggles and cut along the pencil line using any power saw.
Pick up the door and place it into the door opening, asking another person to hold it in place. Look at the side of the door with the hinges and insert wooden shims into it, tapping them with a hammer. Insert at least two to three shims down the side and then repeat on the opposite side placing the shims in corresponding locations.
Open the door and look at the jamb along the side with the hinges. Insert an 8d finishing nail at the location of each shim so they penetrate the jamb and the underlying shim. Repeat the process around the perimeter of the door frame.
Cut off the shims with the surface of the door frame or molding, using a utility knife.