Well, I'm trying to learn how to do it myself, so forgive my inexperience. That said, I think I've made significant progress thanks to books and articles I've read on style. Style isn't as straightforward as grammar (then again, grammar itself gets quite controversial when it comes to subtle details) and you have to think for yourself about what you hope to achieve and, most important, about what the readers feel as they go through the text. So I wouldn't recommend just stubbornly sticking to some set of "rules" without ever thinking about them, but there are certainly some useful principles. As a general introduction to the craft of writing, Stephen King's "On Writing" is a must, highly engaging and informative at the same time. Then there's the classic "The Elements of Style" by Strunk and White. Don't read it as the Bible of style, but take it as a starting point from which you can think about what goes into writing good prose, a basic framework. For a truly deep dive into prose and what it means to write well beyond the scope of simple rules, the next step is Joseph William's "Style", an amazing book packed with insights that will change the way you think about writing. Also, I'm finding it quite useful to study copywriting, even though I don't plan on becoming a professional copywriter. That's because effective copywriting shares many qualities with what I consider to be my "ideal writing style": it grabs your attention from the get-go, engages you throughout the text while pushing its arguments, and gets you to take some action right now, having persuaded you enough by the end of the copy. If you're interested, check out "The Copywriter's Handbook", by Robert Bly.