I've covered much of this ground before but I thought I'd consolidated in one easy to find blog.
Part 1: Prior to Writing the Novel
Part 2: Writing the Novel
3. Write your novel following its advice.
4. Do not rewrite earlier chapters until the book is finished.
5. Do not show your work to more than 1-2 people until it's finished.
Part 3: Selling Your Novel
d) Post or email your submissions.
6. I can't really help you if this doesn't work since I got an agent.
Part 4: Some Statistics
I submitted my work to 45 agencies...
Of which 10 subsequently asked for a full manuscript...
4 asked for meetings of which...
Only 2 made offers of representation.
The fastest rejection took 6 days and the longest 6 months.
The average time before a manuscript request was 4 weeks.
That's the sum total of knowledge of how to get your work published - I hope it's useful.