Remove the screws that hold the loose hinge leaf to the door jamb.
How to fix a door that fell off the hinges.
The wrong way is a temporary fix not cool.
If you have a centering hinge drill use the hinge as a template and the finish repair will be better than new and last for years.
If the hinge and jamb are painted cut the paint around the leaf with a utility knife swing the leaf away from the jamb.
Start by removing the hinge from the door and preparing the damaged area photo 1.
If a door binds open it grasp the knob and lift up to see if a hinge is loose.
Take the hinges with you to the hardware store and use them to help you purchase a new hinge that will fix the mortises or hinge seats on the door and doorjamb.
After time the weight of the door will pull on the hinge and cause the door not to hang straight.
Fix it the right way not the wrong way.
To remove the door from the hinge to which it is still attached unscrew the screw or screws still holding the hinge to the door then place the door on a flat surface.
And it will hold for a long time.
Then scuff the cup portion of the hinge with sandpaper where it will contact the adhesive.
The dowel then carries the thread stress and not the cabinet.
If one is loose remove two or more screws and try driving in longer screws.
You drill the striped screw hole out to allow a properly size wood dowel to be inserted.
Then glue the wood dowel in cut it off flush and once dried drill your new hole for the hardware again in the new wooden dowel.
Another hint is to use a long screw in one of the holes in the top most hinge long enough to penetrate the stud.
3 ask a helper hold the door back.
Apply petroleum jelly to the movable portions of the hinge to protect them from the glue.
Open the door wide and insert a wedge under the bottom outside corner to level it.