Do not paint on a hot wall or in direct sunlight. The paint dries too quickly and does not have time to adhere properly. Then the paint does not protect as intended.
This is especially important when you are using oil paint, which must penetrate the wood before it dries. You may also expose yourself to unnecessary solvent fumes. This is particularly true of old-fashioned linseed oil paint and sometimes linseed oil based alkyd paint.