For minor alignment issues, tightening the hinge screws or placing shims behind one or more of the door hinges may solve the problem, but the proper way to re-align a door is to replumb the door frame ...