How should I talk to professor if I have been absent from project for weeks due to mental health issues? I am an undergraduate student. Four weeks earlier my professor asked me to work with him on a literature survey project. He asked me to update him every week about the status of the project. The project I am talking about basically marks the gender gap in an interdisciplinary field and I have to go through research papers and separate males and females, contact people rather than doing any research work. I worked on it for the first week showed him the excel sheet I made, but he didn't express any thoughts on that rather told me few other sources where I can get more data and answered the question I asked. I knew I was not very motivated to work since all I have to do was copy-paste data from sites to excel.
Then, my family members got sick(with most symptoms of COVID), I have to involve myself in that and it really brought my motivation down to zero. I couldn't bring myself up to manage time, I suffered from anxiety and depression in the second week, this disrupted my thinking I guess as I didn't inform my professor about the project. And in the third week as well I made no contacts with him and no progress in project.
But now when I think I am a little better, I see this as being irresponsible from point of professor and that unknowingly I have done a harm to my reputation since he is one of the best professors in my department and he has always been supportive to students.
I still haven't prepared enough data, what should I do now, how should I talk this out to my professor? Would an apology be enough? Should I ask him if I am still allowed to work on that project?
Update your professor about why progress has not been made and what your next steps are. If you need more time to focus on your mental health, then let your professor know.
One other important thing we should make clear: you are doing this work on your own time, as opposed to being paid. Research mentors or professors with unpaid research assistants should be grateful for any time you can devote to the project assuming you do not take their time for granted. It appears thus far that your professor has not invested a lot of time into the project with you, so you are fine. We should also note that you have no contractual obligation to do the work.