By applying a wax or sealant, you give your paint a slicker surface which means that flies will be less likely to stick to the surface of your paint. By having a protective layer, you will also have an easier job cleaning the surface of the paint.