It’s best to use as few keyframes as possible to get your desired result. Fewer keyframes are easier to manage and easier to update if you make a big change. That said, you need enough keyframes to get the movement or change that you want, so use as many as you need.