Let's face it, fanfiction is a bowl of fun if you don't take it or yourself too seriously. Want to write your personal best fanfic? Plan it out.
Decide from the get go if it will be a one shot or a chaptered fic. Decide what the plot is and who the lead characters are and then give them a really good conflict, preferably one that hasn't been done to death for that particular fandom.