How to edit previously submitted thread?

How does one edit a previously submitted thread?