When a door opens past where it is intended, it puts a strain on the hinges. If this continues, or happens with enough force, the door hinges will be pulled from their position. When this happens, the door is "sprung." A sprang door will have a tendency to sag and may require you to lift up on the knob to get it closed. Steps must be taken to reseat the hinges before the sag becomes so severe that the door refuses to close entirely.
Open the door and wedge shims under it to hold it steady. Remove the screws inserted in the jamb half of the hinges using a cordless drill beginning at the bottom hinge and working to the top. After removing the door, lay it flat on a pair of saw horses.
Examine the screws in the edge of the door. Tighten any loose screws with a screwdriver. Replace stripped screws with screws at least 1/2-inch longer than the original.
Separate the halves of the hinges by tapping a screwdriver up through the bottom of each hinge with a hammer to drive the pins up through the top of the hinge. Set the hinge pins aside for reuse.
Drill into the bottom of each screw hole 2 ½ inches deep in the jamb with a 1/8-inch wood bit to provide a pilot hole for the new screws.
Install the hinge plates from the jamb half of the hinges into the mortises in the jamb. Drive one 3-inch wood screw into each hole with a cordless drill. The longer screws will drive through the jamb into the frame behind to anchor the hinges firmly.
Lift the door upright and position the door so that the hinge halves line up. Work the door, by lifting up gently on the handle and pushing toward the jamb, until the hinge halves are completely aligned.
Wedge the shims underneath the door to hold it up. Drive the hinge pins into the hinges with a hammer beginning with the top hinge. Lift up slightly on the door to aid stubborn pins to slide home. Do not hit the pins with too much force, or you will unseat the hinges and be back where you started.
Open and close the door several times to test for proper operation. Correct doors that sag slightly by tightening the top screw in the top hinge to lift the door. Check all hinge screws and tighten any screw that has loosened in the installation process.