Should the use of “I” in our paper be used as sparingly as possible? Does it matter?

I can’t remember if this was brought up or not in class. I know certain sections of our paper, especially if we are adding in our own experiences, it would be necessary to have, but is there a general rule of thumb for this specific paper?