They are completely different words.
'Then' means next, or at that time. We use 'now' for the present time, and 'then' for other times - either past or future. For example, 'I had a shower, and then I got dressed' or 'I didn't go to Australia when I was a student because I didn't have enough money then'.
'Then' can also have the meaning of 'so'. 'I'm hungry.' 'Then eat something!'
'Than' only has one use - it's the word we use when we're comparing two things, for example, 'My brother is older than me.'
I hope that helps.