It depends on the condition of your existing siding. If it’s in good shape then repainting is fine, but if it’s warped or aging, then you should get it replaced with vinyl.