"Doing an internship" is an obligatory part of the MSc programme in Mechanical Engineering. "Going a semester abroad for course work" is a option you could choose. Both activities require a certain procedure to be followed, which you can read all about following the links below.