As a general rule of thumb, lift lighter weights for a higher number of reps and heavier weights for a lower number of reps. Each set should consist of the number of reps you can do using correct form before you start to compromise your form. Then, you can take a planned rest between sets to recover.