Whether you are querying agents or bravely self-publishing, be the best writer you can be.
I'm not just talking goals, motivation and conflict in your story. A writer needs to know the business of writing. Period.
Here are some of the communities and resources that have helped me and continue to help me learn the business of writing.