I was going to come up with some simple instructions for how to write dialogue well, but I actually think someone else has already summed it up well on their own blog, so I’m actually just going to link to a post Joe Konrath made here. I don’t agree with everything he says as I think dialects can work if done well but it’s pretty  much spot on and I know my dialogue has improved thanks to reading his blog.