The main stages of SEO are keyword research, on-page optimization, off-page optimization, and ongoing monitoring and adjustments.