You have to resign yourself to wasting lots of trees before you write anything really good. That’s just how it is. It’s like learning an instrument. You’ve got to be prepared for hitting wrong notes occasionally, or quite a lot. That’s just part of the learning process.
And read a lot. Reading a lot really helps. Read anything you can get your hands on.