It depends on the paint you use and on the surface underneath it. A primer preps the surface and enables better adhesion once you apply the paint. For example, many epoxy swimming pool paints require a primer if you use them on unpainted concrete. If you’re painting over existing paint, you maybe won’t need a primer if you’re using the same type of paint.