Research assistant vs internship?

For now my future career goal is to become a professor. Over the summer I am looking for something to do but if I my goal is to be a professor do you think research assistant or internship would be suit for it? Thank you

BTW i am freshman at an university.

Research if you plan to go on to a PhD.

Research assistant.