Use than to make a comparison. Use then when referring to time.
Examples:
The quiz was harder than I had expected.
I answered two questions and then got stuck.
Practice:
(a) I filled out a form and _____ waited in the lobby.
(b) I had to wait much longer _____ you did.

