Unfortunately Brickies advice is not good, although it is seems a popular belief. All it will achieve is to form the skin on the surface of the paint which is in contact with the air-space i.e. halfway down the tin, where it is almost impossible to remove without getting bits of skin in the paint.
As S.O.D. says, there are many types of paint but talking only about the oil-based household and hobby paints: The last thing the paint manufacturer does before sealing the tin is to add a small amount of methyl ethyl ketoxime which is an anti-oxidant. This does not interfere with the drying because it is highly volatile and quickly leaves the drying film. The ketoxime is sufficient, together with the small air-space in an unopened tin to stop the paint drying (aka skinning). If you open the tin, use half of the contents then reseal the tin, you will have lost the ketoxime while the can was open, and there will be enough air above the paint to cause skinning.
There is only one way to avoid this, and that is to open the full tin and decant the contents immediately into smaller, well-sealed containers until they are required. Or buy smaller tins of paint
Chas