1. Buy Final Draft or another industry standard screenwriting program, and learn how to use it.
2. Read lots of scripts.
3. Give your protagonist a problem and make him act!
4. Know what you're selling.
5. A famous screenwriter once said, "Mastering screenwriting is like mastering the ancient art of Ty-Ping."