"Ago" and "earlier" are definitely not interchangeable. "Six months ago" means six months before the current time. "Six months earlier" means six months before some other event that has just been described.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
This means I started saving 12 months ago, then bought the car after s
Six months ago, I bought a new car. Six months earlier, I had started saving for it.