Apart from the fact that they look and sound similar, they have no similarities. "Then" is used to describe what happened next in a sequence of actions. "Than" is used in comparisons.
Eg.
"First I went to the beach, then I went to the chemist."
"Today is colder than yesterday."