Most unpleasant creaky noises result from rust on the door hinges. The metals rust and sliding rusty metals produce the noise. To clean the rust, remove the door hinges and use steel wool to thoroughly clean the hinges. Scrub with steel wool until the rust that can fall off is gone. Cover with a door hinge lubricant or WD-40 spray and place the hinges back into the door.
The best way to lubricate the door hinge is to use a door hinge oil or silicone spray because they are effective at keeping the door hinge slippery and noiseless. They also don't create a mess and are generally easy to use. Read the instructions on the pack to lightly spray or apply with a cloth onto the door hinges.
The best way to ensure correct lubrication and an extended lifetime of your hinges are to pick the right chemical as a lubricant. The best option is to either go for a silicone spray or plumber's grease. Both are long-lasting. However, the plumber's grease is a lot more sloppy and will create quite a bit of mess if you're not careful. You should never use something like a graphite lubricant on your door hinges. It's very liquidy and will seep down to the floor and mess it up.
Paraffin wax is great for lubrication and can be easily found at a hardware store. Melt the wax in a microwave-safe bowl in your microwave.
To effectively reduce the creaking of the door, you’ll have to invest some more time in fixing it. Using a nail and a hammer, loosen the door hinges and remove them. Secure the door against the wall to avoid hurting yourself from a falling door.
Coat the hinges in paraffin wax and wait for the wax to cool. It should take around 5-10 minutes to dry off completely. Put the hinge pins back to attach the door. If the door still creaks then you need to lubricate it weekly or bimonthly.
WD-40 is a lubricant that you probably already have lying in your garage. To lubricate the door hinge, spray some WD-40 onto the door hinges regularly. Clean the excess with a cloth. The creaking sound may not go away on the first application, therefore apply whenever you see the hinge getting dry to keep it lubricated.