"Than" is used when comparing things. For example, "He is a better artist THAN I am"
"Then" is used when relating to time. For example, "I first went to the grocery store, THEN I went to the bakery."
This Public Service Announcement is brought to you by your former English teachers.