How do you use word than correctly?

you use the word "than' like '' i like this better than that!''you use ''then'' like ''it was bettter than that!!