If the hinge is not flush, remove more wood until it is ... Stand the door up and rehang it by aligning the hinges and installing the hinge pins. Test the swing of the door.