Than and then are homophones, meaning they sound similar. Homonyms have the same spelling.