Theses are commonly written in LaTeX for which a free download is available on the Internet. There are several introductory courses and handbooks.
For example, have a look at:
Additionally, there are crash courses offered regularly by the mentoring program.
Of course, it is not forbidden to typeset your thesis in MS Word or Open Office, but using LaTeX and BibTeX it is a way easier to obtain a professional result.