SEO vs. SEM, what’s the difference?

Both are online marketing strategies with distinct advantages and disadvantages, so which should you use?