When do I need to cite myself?
If you are reusing content or data you used in a previous assignment, make sure to cite yourself. You can cite yourself just as you would cite any other source: simply follow the directions for that source type in the citation style you are using.
Keep in mind that reusing your previous work can be considered self-plagiarism, so make sure you ask your professor or consult your university’s handbook before doing so.