I’m not sure it’s good to approach this with a “how do I get rid of” mindset. Unless you have some other specific circumstances, these are conditions that we live with. However, working with a doctor can help. Also, your own personal experience will, too. Diet, topical products, and possibly medication could all play a role. I have had excema and dandruff for my whole life, but thru watching what I eat and keeping track of what I use, I have a pretty good system that works for me. I didn’t get the excema figured out until my mod twenties (from a management standpoint), and the dandruff until mod thirties, but I feel OK about those things now. I would have been better off, I think, if I consulted with a doctor as a teen. I really recommend this. Don’t be afraid of a second opinion.
I’m not a carpenter, but as a mechanic, if the hinge pin is doing that AND the deadbolt has a problem, I would expect a third problem. Maybe the door frame isn’t square, or since it is the bottom hinge pin, maybe a threshold issue. The pin shouldn’t be migrating, and if it did, the deadbolt shouldn’t care. There should be three hinges on an entry door. Is the door warped?