It depends on the texture you want, for crispy potatoes it's best to bake uncovered at a higher temperature, directly on the rack. For a softer more fluffy potato, covered in foil on a baking sheet is best.