Writing dialogues for a story requires a lot of focus. You cannot afford to do it like any other routine task. There has to be no noise around you, so that you can concentrate hard at the characters and the story line.
Know the characters
Although, the characters will be created by you, yet they should have some clear identity so that you don’t get confused, especially when writing their dialogues. If you are not familiar with them, the overall story will not fascinate the audience.
It is important to add emotions in the story. The readers will only connect when there are some sentiments in the dialogues. Even if the genre does not demand such a character, make sure you create something like this.
Make it humorous
Humour is something, which makes the story interesting. Sometimes, people get bored while reading the same sort of stuff over and over again, so try experimenting with a few jokes in the dialogues, and it also adds variation to the story.
While writing the dialogues, use some variations. Keep on playing with words in order to connect with the audience.