There is lots of advice online about writing treatments – Wikipedia is a good place to start.