Locate or search for the desired course (you can click 'All courses...' in the 'My courses' block) and click on the course name. If your teacher has given you an enrollment key, enter it when prompted, and click Enroll me in this course. Once you are enrolled in a course, it will appear under "My courses" any time that your are logged into that Moodle site.