He started out as a villain, but he came round. During the Buu saga, when Goku's wish brought all the good characters back to life, Vegeta's halo disappeared from above his head — the sign that he had genuinely changed sides.
So the honest answer is both, in that order: bad first, good later.