To build muscle... probably both. Consistency and progressively increasing the overload. Overload might be more weight or more reps or less rest between reps. By taxing your muscles you force them to grow.
In my case the muscle was basically there, I just needed to lose the fat and get lean to reveal them!