Next time you’re ready to seal up a partially used can of paint, be sure to cover it with a cloth before tapping down the lid. If you don’t, paint left in the rim of the can will squirt out.
This tip is also useful when sealing up cans of stain, varnish, and clear wood preservative.