I went in not knowing what I was really, really doing; figured I'd just figure it out along the way, and I have although I know my place in the self published food chain as it is.
However you write, structured outline , shotgunned conversations that you insert and let the story swirl around (my default style), dont rush it and make sure its good to go. Make sure its really, really ready before you ever pass it off to someone for editing and proof reading. I released my first book like five times after my editor and I missed a bunch of mistakes. Also, I do the most reading of other books when Im actively writing. Again, this is just my style that I didnt choose, but it helps me to 'see' stories better and what authors have created now that Ive done my own. Call it research or continued education or refinement, but you will pick up on formatting, word use, and grammatical stuff and it will transfer into your own work, making it better.
You can read some of my anecdotal reports on writing on my website/blog (link in sig) and feel free to hit me up for anything else as well. There are a handful of authors on this site that can chime in with much more and better experience than me, but from what Ive found, everyone finds their own path to what works best for them.