How would you fix this ?

If the red is the door, I'd start by shimming the bottom hinge or rebuilding the hinge itself. If the upper or lower pin is wallowing in a ratted out hinge, no shimming is going to correct it.