Clean and dry the lids of Mason jars well before painting them to make sure the paint sticks. The adhesion and durability can be improved by using a primer made just for metal surfaces. Spray paint or acrylic paint should be applied in thin, even layers, with plenty of time between each layer to dry.