'Than' is comparative: I like potatoes more *than* grass. I go out more now *than* when I wasn't vaccinated.
'Then' is an conditional or temporal adverb: I mowed the lawn *then* went for a run. If this, *then* that. Back *then*, I was living in Minneapolis.