It depends on the guidelines provided by your instructor or the requirements of the assignment. Generally, it is best to avoid using first-person pronouns unless you are specifically asked to do so.