Take an SEO course (or several SEO courses)
Learn SEO by optimizing their own website.
Work at a marketing agency.
Take on SEO clients.
Get an online SEO certification or degree.
Work as an “in house” SEO professional.