Both are very loose terms, SEO could theoretically be considered a part of SEM - since you are marketing your web site by optimizing it's rankings in the natural search results through SEO. SEM on it's own though typically refers to the use of paid advertising channels, such as Google AdWords and Bing Ads.
At companies I've worked for in the past, SEO meant free traffic, and SEM meant paid traffic.