Get the format right.
I once wrote a sitcom episode in my own format before I heard there was 'official' format conventions to use. I then had to redo the whole script which was incredibly tedious and took 5 times as long as writing the scrip from scratch.
I think the BBC writer's room has lots of templates to look at.