Pry off the molding attached to the door jamb on the latch side of the door, using the putting knife. The molding stops the door from swinging through to the other side.
Shut the door. Reposition the stop on the jamb, directly against the door's inside edge. Install a finishing nail near the top of the stop, using a hammer, to anchor it to the jamb.
Open the door to give you more room to work. Nail finishing nails into the stop to attach it to the jamb. Any warp in the door won't cause the door to be out of proper position when closed.
Add a middle hinge to the door, if the door only has top and bottom hinges. Open the door completely and measure the distance between the top and bottom hinges. Use a pencil to mark the middle of the distance between the hinges on the jamb and door edge.
Position a middle hinge on the door edge and the jamb, then trace directly around the hinge on both the jamb and door edge with the razor knife.
Place the edge of a wood chisel against the hinge outline on the jamb and tap the chisel with the hammer to carve out a mortise that matches the hinge's thickness. Do the same thing on the door edge.
Screw the hinge's leaves to mortises in the jamb and door edge, using screws and a screwdriver. Drive the pin into the newly installed middle hinge.
Loosen the screws in the hinge with the screwdriver if the door continues to stick. Slide two cardboard shims between the top hinge and the jamb, and one shim between the middle hinge and the jamb, to tilt the door down and stop it from sticking. Slip the shims in on the pin side of the hinges, then tighten the hinge screws.
Loosen the bottom and middle hinges, if you need to tilt up the door. Slip two shims between the bottom hinge and the door jamb, and one shim between the middle hinge and door jamb. Slip the hinges in on the pin side of the hinges. Tighten the hinge screws with a screwdriver.
Identify the spot on the door that still binds due to the door being warped, if necessary. Partially open the door.
Plane the edge of the door where it sticks, using a block plane. Work from the end, moving toward the middle of the door with smooth, even strokes. Position a stepladder beside the door and plane the top edge with the block plane, if necessary. To plane the bottom edge or the hinge side, you'll need to remove the door, set it on its edge and position one end in the room corner.