If your door sits crooked in its frame and rubs at the top or bottom you can easily straighten it back up by adding a cardboard shim behind the door hinge opposite of where it rubs in the frame. If it rubs on the upper half of the frame, shim the bottom hinge and vice-versa.
repair - Gap between door and frame is too large at latch location - Home Improvement Stack Exchange
Adhesive Felt to Silence Slamming Doors
Any way to fix this crooked frame in an old house? : r/Carpentry
Entry door misaligned and warped - Community Forums
3 Ways to Level a Door - wikiHow
How to Fix a Rubbing Door: 12 Steps (with Pictures) - wikiHow
How much gap is allowed between the door and striker plate - Home Improvement Stack Exchange
How to Fix Door Frames that are Set Twisted or Out of Square
Day 2 - Fixing a Sticking Door - Pretty Handy Girl
Is adjusting door hinges difficult? My bedroom door looks a little crooked/must be slammed shut and I think hinge adjusting will help. - Quora